Drop-down button in toolbar [message #329407] |
Mon, 23 June 2008 13:00 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Jasper![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=jasper.noid%40yahoo.com) Messages: 84 Registered: July 2009 |
Member |
|
|
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.24040 seconds