Problems creating Synth L&F
I've tried to make a new look and feel with the Synth l&f (the end result should look like this: http://www.emasty.de/izpack/IzPackGUI.gif )
Now, I have the following problems:
- How do I make a difference (in the Synth l&f xml configuration) between buttons on a normal panel and buttons on a ToolBar? Do I have to bind a new button definition to the ToolBar region? (But this is not working as you can see here: http://www.emasty.de/izpack/IzPackForum.gif)
What I want is that a button, placed on a JToolBar, does not look like a 'normal' button. Instead, the button should be opaque.
- How do I make a difference between an opaque element and a 'normal' element in the Synth configuration? As far as I know, there is no opaque state.
The problem is. When I set a button to opaque="false", the button background is painted even though.
My configuration is:
- How do I use the stretch="false" attribute with an image painter?
My current configuration for the arrow button:
is not working, as you can see at http://www.emasty.de/izpack/IzPackForum.gif
Thanks a lot!