Drop-down button in toolbar [message #329407] |
Mon, 23 June 2008 09:00  |
Eclipse User |
|
|
|
I would like to have a drop-down button in my main toolbar, so I used
style="pulldown" on a <command> declared in the toolbar. Works ok, except...
I want the button to always show its drop-down menu when it's clicked,
not just when it's clicked on the arrow. This seems impossible because
when the button is clicked on its icon, it just executes its associated
command and doesn't show the drop-down menu at all.
So I used a <control> instead, implemented it with a Button, and wrote a
bit of code to render a menu underneath it. Not too bad, but a Button is
always rendered with a border, unlike ToolItems, so now it looks odd.
Any tips on how to fix either of my approaches, or perhaps a better
alternative?
Thanks.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02338 seconds