PDA

View Full Version : [CLOSED] ToolbarButton



Timothy
Oct 03, 2008, 11:38 AM
Question,

With a ToolbarButton is there anyway to make it stand out when it is not hovered over? Would like to have the effect that it actually is a button and not just a word with an icon.

Cheers,
Timothy

Vladimir
Oct 03, 2008, 4:43 PM
Hi Timothy,

Please try this code



<ext:ToolbarButton Cls="x-btn-icon x-btn-over" OverCls="fake" runat="server" Icon="Add">
<Listeners>
<MouseOut Handler="this.getEl().addClass('x-btn-over');" />
</Listeners>
</ext:ToolbarButton>

Timothy
Oct 03, 2008, 5:43 PM
Thanks vlad, wondering if there is another solution or an alternative so I do not need to define this for each button. Would it be worth while mentioning as an enhancement to the ToolbarButton?

Cheers again,
Timothy

geoffrey.mcgill
Oct 03, 2008, 7:24 PM
Ya, I think we can come up with something.

Timothy
Oct 03, 2008, 7:31 PM
geoffrey.mcgill (10/3/2008)Ya, I think we can come up with something.



Would be awesome, keep me posted. Should I post in feature requests?

Cheers,
Timothy

Vladimir
Oct 06, 2008, 7:40 AM
Hi Timothy,

The StandOut property was added to ToolbarButton

Timothy
Oct 06, 2008, 8:05 AM
Thumbs up thanks vlad!