Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
8 user(s) are online (6 user(s) are browsing Forum)

Members: 0
Guests: 8

more...


Browsing this Thread:   1 Anonymous Users






Re: MUI/Zune Alignment with MUIA_Weight=0
#3
Home away from home
Home away from home


See User information
Hi,

You've already found what I was willing to post, you must add some rectangle objects here and there that will expand themselves to fit the window size.

Posted on: 2018/7/20 10:26
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: MUI/Zune Alignment with MUIA_Weight=0
#2
Quite a regular
Quite a regular


See User information
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
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


MUI/Zune Alignment with MUIA_Weight=0
#1
Quite a regular
Quite a regular


See User information
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:



png  (0.00 KB)


png  (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
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 







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.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project