jaromir Posted November 12, 2019 Share Posted November 12, 2019 Hello, In previous UniGui 1.10 we used event 'beforeInit' for buttons and we put custom css for pressedCls and overCls styles. Now we move to 1.50 which use Ext JS 6. According to manual at: https://docs.sencha.com/extjs/6.5.3/modern/Ext.Button.html#configs there is not possible to use this fields any more. What is the new aproach for changing buttons css for pressed and over states ? Thanks. Link to comment Share on other sites More sharing options...
Sherzod Posted November 12, 2019 Share Posted November 12, 2019 Hello, Do you mean the mobile version? Link to comment Share on other sites More sharing options...
jaromir Posted November 12, 2019 Author Share Posted November 12, 2019 No. We use desktop version. After change UniGui from 1.10 to 1.50 config.pressedCls and config.overCls - stoped working. At now I found this: https://www.sencha.com/forum/showthread.php?297433-Pressed-CSS-for-Button Is this right solution (config._pressedCls) ? Link to comment Share on other sites More sharing options...
Sherzod Posted November 12, 2019 Share Posted November 12, 2019 31 minutes ago, jaromir said: docs.sencha.com/extjs/6.5.3/modern/Ext.Button.html#configs 4 minutes ago, jaromir said: No. We use desktop version. OK, you provided a link to the mobile version, so I asked. Link to comment Share on other sites More sharing options...
jaromir Posted November 12, 2019 Author Share Posted November 12, 2019 9 minutes ago, Sherzod said: OK, you provided a link to the mobile version, so I asked. So what is the link for desktop ? Ok - I see now - sorry: https://docs.sencha.com/extjs/6.5.3/classic/Ext.button.Button.html#configs Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now