Button (no text)

Discuss GUI programming with the MUI Royale plugin here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Button (no text)

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>

...
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Button (no text)

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

Re: Button (no text)

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

Re: Button (no text)

Post by djrikki »

Thanks guys.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
Post Reply