azago Posted April 14, 2020 Share Posted April 14, 2020 i need to change default background color of the Theme used : uni_sencha in Ext.tip.ToolTip i tried function afterrender(sender, eOpts) { Ext.create('Ext.tip.ToolTip', { target: sender.getEl(), showDelay:50, hideDelay:50, html: '<span class="hintClass">Note Pratica</span>' }); } in Custom.css .hintClass { background-color: #096EA9!important; border: 1px solid #096EA9; } but I always have a border with the original color around the message Thanks for the help Angelo Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 14, 2020 Share Posted April 14, 2020 20 minutes ago, azago said: i need to change default background color of the Theme used : uni_sencha in Ext.tip.ToolTip Hello, You can try to use componentCls property. function afterrender(sender, eOpts) { Ext.create('Ext.tip.ToolTip', { target: sender.getEl(), showDelay: 50, hideDelay: 50, componentCls: 'customTip', html: '<span class="hintClass">Note Pratica</span>' }); } CustomCSS: .customTip { border-color: green; background-color: limegreen; } Quote Link to comment Share on other sites More sharing options...
azago Posted April 15, 2020 Author Share Posted April 15, 2020 Thanks Sherzod it works fine Angelo 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.