Search the Community
Showing results for tags 'constraint group'.
Found 1 result
Hi, the constraint group feature is immensely awesome and helpful. However, I've encountered several problems, where the feature does not work as I'd expect. Here I'd like to document one such bug. It starts with a 320x320 constraint group which holds four containers: Yellow and blue are fixed-height headers and footers, that stretch with the parent Green and red stretch to fill the vertical gap between header and footer and their width will always be 25% of the parent So far, so good. Now, I'd like to start adding further elements to the four docked regions. Let's start with centered labels: The labels are Frame Texts without any constraints. Now, when I start to group each docked rectangle with its respective label, this happens: The nested groups do not "wrap" their contents as intended. Actually, the right and bottom groups don't even overlap the geometry of their children at all. However, the grouped items are still in the right place. Only the newly created "container" groups have the wrong dimensions. But here's the interesting part: When I scale the parent to match the 1280x720 artboard size, the dimensions of the nested groups almost align with the original 320x320 parent: Long story short: I believe, the dimensions of the nested groups are not computed in the right coordinate system. Somehow, the transformation from "global Artboard space" to "local 1rst-order constraint group space" is performed twice for the newly created "2nd-order" constraint groups. Regards, Chris