uniguisyriusz Posted December 17, 2018 Share Posted December 17, 2018 Is it possible to set TUniToolButton on hover background to single color? Normally when mouse cursor is over toolbar button its background is painted with gradient, also toolbar is painted with gradient, but after set its color property it is painted with single color. I want to do the same thing with toolbar buttons backround when mouse is over button. Quote Link to comment Share on other sites More sharing options...
Volk65 Posted December 18, 2018 Share Posted December 18, 2018 +1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 18, 2018 Share Posted December 18, 2018 Hi, Sorry, can you explain in more details ? Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted December 19, 2018 Share Posted December 19, 2018 maybe can use css function beforeInit(sender, config) { config.baseCls="btn"; config.cls="success"; } My problem is, How can I change TUniToolButton.Font.Color. In css not not change this. I have to change toolbar's font's color. At this point, this override all parent's color. How to change this? Quote Link to comment Share on other sites More sharing options...
uniguisyriusz Posted December 19, 2018 Author Share Posted December 19, 2018 Maybe the pictures will explain it better. Description of attachments: toolbar.png - standard toolbar toolbar_witth_color.png - toolbar with property color set to clGray toolbar_mouse_over_button_standard.png - toolbar button with mouse over toolbar_mouse_over_button_how_to_do.png - example of expected effect with mouse over toolbar button (orange background of toolbar button when mouse cursor is over button) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.