abdcool17
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2021
01:07 AM
Manage alignment of childs of LayoutGroup
Hello spartans,
I've a requirement where I want different horizAlignment property for the childs of same LayoutGroup.
Eg. First child is keyboard which should be centre aligned and second one is text field which should be left alligned.
I've tried applying the translation, disabling inheritParentTransform, etc.
Any help is much appreciated. Thanks in advance 🙂
1 REPLY 1


Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2021
11:58 AM
Re: Manage alignment of childs of LayoutGroup
Hi @abdcool17,
You can use a Group container and explicitly set the translations of the child items, based on the localBoundingRect() values return for the child nodes.