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 »

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: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Disabled Button - Image

Post by airsoftsoftwair »

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 »

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 »

Toolbarbutton.DisImage works great, if used.
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: Disabled Button - Image

Post by airsoftsoftwair »

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