I've tried setBaseStyle("stretchImgButton") which gets the initial style set correctly, but it does not change when the mouse rolls over it. I also added setShowRollOver(true) which has no effect.
Announcement
Collapse
No announcement yet.
X
-
How do I make the rollover style the same as the ToolStripMenuButton. I've tried variations on the following and nothing seems to work.
MenuButton mb = new MenuButton("MenuButton");
mb.setBaseStyle("stretchImgButton");
mb.setStylePrimaryName("stretchImgButton");
mb.setShowRollOver(true);
mb.setStyleDependentName("Over", true);
Comment
Comment