Browsing this Thread:
1 Anonymous Users
|
Re: MUI/Zune Alignment with MUIA_Weight=0
|
||||
|---|---|---|---|---|
|
Quite a regular
![]() |
After pondering this for days and trying a few different things, I was finally inspired to add a RectangleObject after the last button with a MUIA_HorizWeight of > 0. Posting this here in case it helps anyone in the future.
Posted on: 2018/7/20 5:27
|
|||
|
||||
|
MUI/Zune Alignment with MUIA_Weight=0
|
||||
|---|---|---|---|---|
|
Quite a regular
![]() |
I'm a little perplexed by some (basic) MUI layout issues.
I have a group with a row of buttons, each with an image. I use MUIA_HorizWeight to set the width of the buttons to be only as wide as necessary to display the image. So far so good. The button group is a child of a VGroup. There are many VGroups as children of a Scrollgroup. Each VGroup displays correctly with the buttons aligned on the left. Now, when I add an LLabel text to the VGroup something interesting happens. The label and button group in each VGroup become centered relative to each other. I imagine I'd be able to fix this by left-aligning the VGroup children but this doesn't seem to be supported in the version of Zune I am using. Can anyone hit me with a clue stick? Edit: I've attached a couple of screen shots that show the centering that occurs when MUIA_HorizWeight 0 is set on all the buttons. The second image shows what happens when I set a MUIA_HorizWeight to > 0 for the first button. Attach file: (0.00 KB) (0.00 KB)
Posted on: 2018/7/17 15:18
Edited by remotenemesis on 2018/7/19 15:11:21
Edited by remotenemesis on 2018/7/19 15:12:52 |
|||
|
||||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.







(0.00 KB)