You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem or limitation you are having in your project
If I use anchor for percentage layout, once I modify the margin or anchor of the topmost control, it will cause all child controls to automatically set the margin, and then the layout will be messed up
Describe the feature / enhancement and how it helps to overcome the problem or limitation
It is recommended to add an optional option to freeze or lock properties such as rect, anchor, margin, otherwise following the changes of the parent control will cause problems such as disordered layout
Add new attributes: min anchor, max anchor, min margin max margin, min rect max rect
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
If this enhancement will not be used often, can it be worked around with a few lines of script?
Is there a reason why this should be core and not an add-on in the asset library?
The text was updated successfully, but these errors were encountered:
Calinou
changed the title
Suggestions for improvement of layout issues
Prevent editing a container child's position and size in the inspector
Jan 29, 2021
If I use anchor for percentage layout, once I modify the margin or anchor of the topmost control, it will cause all child controls to automatically set the margin, and then the layout will be messed up
I'm not sure I understand your problem. Changing parent's properties is supposed to cause a cascading effect on its children, that's in the nature of the parent-child relationship.
Describe the project you are working on
UI design
Describe the problem or limitation you are having in your project
If I use anchor for percentage layout, once I modify the margin or anchor of the topmost control, it will cause all child controls to automatically set the margin, and then the layout will be messed up
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
If this enhancement will not be used often, can it be worked around with a few lines of script?
Is there a reason why this should be core and not an add-on in the asset library?
The text was updated successfully, but these errors were encountered: