Disabled Button - Image

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

Disabled Button - Image

Post by djrikki » Mon Jan 28, 2013 9:26 pm

Hi Andreas,

Please take at this image first:

http://www.lakemarketingandevents.co.uk ... ture18.png ( buttons when Area.Disabled set to false )

http://www.lakemarketingandevents.co.uk ... ture19.png ( buttons when Area.Disabled set to true )

Ignore first button, are you able to explain why buttons 2, 3 and then 4th from the end are simple missing altogether?

I assume this the correct way to disable a button - although I would have prefered if MUI Royale somehow got the correct image state from tbimages: lol
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

User avatar
airsoftsoftwair
Posts: 2557
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Disabled Button - Image

Post by airsoftsoftwair » Tue Jan 29, 2013 6:48 pm

This could be a bug that we have been discussing on the OS4 mailing list for some time. Does it work correctly if you turn off compositing in the GUI prefs?

If you want the button to use a different image when disabled, take a look at the Toolbarbutton.DisImage attribute.

djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Disabled Button - Image

Post by djrikki » Tue Jan 29, 2013 8:01 pm

Turning off Composition makes no difference.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Disabled Button - Image

Post by djrikki » Tue Jan 29, 2013 8:07 pm

Toolbarbutton.DisImage works great, if used.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

User avatar
airsoftsoftwair
Posts: 2557
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Disabled Button - Image

Post by airsoftsoftwair » Wed Jan 30, 2013 6:16 pm

Can you provide a very small example script and XML definition that shows the problem with the disappearing buttons?

Post Reply