Jump to content
You must now use your email address to sign in [click for more info] ×

Constraint groups and fill on group level


Recommended Posts

Hi,

[LOW PRIORITY - @N.P.M. showed that the grouping is not required to slice a fill. Never the less, these UI inconsistencies irritate and distract you from getting things done. If something is labeled "group", it should behave like a group.]

of you create several rectangles (e.g. 3x3, distributed with no gap) and group them, you can assign a fill on the group which gets transferred to the individual member layers: every rectangle gets a portion of the fill. This is a great function to create puzzles etc.

If you add constraints to any member of the group (before using fill tool), it is no longer possible to use the fill tool in this way. The fill will be assigned to the constraint group itself, not to the members.

Even after ungrouping, removing constraints, grouping again (which gives a "group" instead of "constraint group" as label) it is still impossible to get the fill assigned to child layers.

This bug makes it impossible to create assets or symbols with pre-determined constraints (before fill). 

In the image below, please have a look at the layer thumbnails, showing the difference.

Screenshot 2023-02-05 at 21.50.25.png

Edited by NotMyFault

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

Side node:

I used swatches during my tests. It seems that swatches are total unreliable when using groups with rectangles, and a bitmap fill or gradient fill. In many cases the fill won't get applied at all. In case of gradients, you need to activate the gradient tool and click on one of the nodes to get correct rendering.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

What I try to achieve is generate a template (with constraints) that can be filled with any bitmap fill to allow a 9-slice resize.

You can use the move tool to resize the constraint group, the 8 edge tiles will be constraint to the edges and 0 or 1 axis, whereas the centre tile scales in 2 axis.

I created the file below on iPad, and there it works. Unfortunately the process to get there is too tedious and cannot be saves as asset / template.

 

I tried to reproduce the same process on Mac and stumble from one bug to the other (fill, style, constraint etc)

 

 

9 slice template.afdesign

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

17 minutes ago, N.P.M. said:

Select the 9 rects>

This is much simpler and makes it redundant to use a group layer. Thank you.

The main UI issue is that gradient fill does not show correct rendering of multiple layers are selected. you need to touch any node and move it to get correct rendering. These (many) UI bugs consume so much time and distract from the essence.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.