drawio icon indicating copy to clipboard operation
drawio copied to clipboard

Container "Header Size" breaks corner rounding

Open Ezbaze opened this issue 1 year ago • 1 comments

Preflight Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug Changing the "Header Size" style of a container changes the corner rounding, and removes it completely when "Header Size" is set to 0

To Reproduce Steps to reproduce the behavior:

  1. New or existing document
  2. Bring out General->Container
  3. Check the "Rounded" checkbox for Container (No rounding)
  4. Bring out General->Vertical Container
  5. Check the "Rounded" checkbox for Container (Has rounding)
  6. Change the Header Size of the Vertical Container to 0 and you'll see the rounding disappear

Expected behavior I would expect for the rounding to not be influenced by the header size.

Screenshots image

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 24.6.4

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Browser Version: 126.0.6478.127 (Official Build) (64-bit)

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below: yes

Additional context Na

Ezbaze avatar Jul 01 '24 16:07 Ezbaze

If I'm reading this correctly, the issue is, when you change the size of the header to 0, the rounding disappears, correct? I'm really annoyed with this as well, if that what you meant. I want to be able to create a rounded "table" without a header, and just have 3 cells in a row containing text in them.

GeneralK avatar Oct 04 '24 13:10 GeneralK

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.

github-actions[bot] avatar Jun 16 '25 11:06 github-actions[bot]

That container shape is design assuming a header. If you want a rounded group shape, use a standard rectangle, tick "rounded" and tick "container" in the properties.

davidjgraph avatar Sep 25 '25 12:09 davidjgraph