Discuss GUI programming with the MUI Royale plugin here
-
djrikki
- Posts: 682
- Joined: Wed Apr 06, 2011 12:26 am
Post
by djrikki »
Hi,
If I create a button with just an image in it I can end up with layouts like this...
http://www.lakemarketingandevents.co.uk ... pture9.png
How do I set the 'Width' of the button?
Code: Select all
...
<hgroup>
<button id="helper1-req">\33A[303]</button>
<label key="g">AmigaGuide</label>
<string id="helper1-string"/>
</hgroup>
...
-
airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
-
Contact:
Post
by airsoftsoftwair »
You should use a <colgroup> for such layouts. Then they will all get the same width.
-
Mazze
- Posts: 69
- Joined: Thu May 06, 2010 8:08 pm
Post
by Mazze »
Additionally, you can add weight="0" to make a gadget as small as possible.
-
djrikki
- Posts: 682
- Joined: Wed Apr 06, 2011 12:26 am
Post
by djrikki »
Thanks guys.