Page 1 of 1

Disabled Button - Image

Posted: Mon Jan 28, 2013 8:26 pm
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

Re: Disabled Button - Image

Posted: Tue Jan 29, 2013 5:48 pm
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.

Re: Disabled Button - Image

Posted: Tue Jan 29, 2013 7:01 pm
by djrikki
Turning off Composition makes no difference.

Re: Disabled Button - Image

Posted: Tue Jan 29, 2013 7:07 pm
by djrikki
Toolbarbutton.DisImage works great, if used.

Re: Disabled Button - Image

Posted: Wed Jan 30, 2013 5:16 pm
by airsoftsoftwair
Can you provide a very small example script and XML definition that shows the problem with the disappearing buttons?