jahlxx Posted January 10, 2020 Share Posted January 10, 2020 Hi. I have a problem with fileupload buttons with uni_emerald theme. OK button is not shown (see image). This is urgent please. Someone can hekp me? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 10, 2020 Share Posted January 10, 2020 Just now, jahlxx said: I have a problem with fileupload buttons with uni_emerald theme. Which build are you using? Quote Link to comment Share on other sites More sharing options...
jahlxx Posted January 10, 2020 Author Share Posted January 10, 2020 1.90.0.1514 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 10, 2020 Share Posted January 10, 2020 31 minutes ago, jahlxx said: This is urgent please. Someone can hekp me? Maybe something like this at the moment: ... UniFileUpload1.Execute; UniSession.AddJS( 'Ext.defer(function(){'+ ' var fWin = Ext.WindowManager.getActive();'+ ' if (fWin) {'+ ' fWin.setWidth(310); fWin.setHeight(178); fWin.getEl().select("a.x-btn").setTop(100);'+ ' }'+ '}, 200);' ); ... 1 Quote Link to comment Share on other sites More sharing options...
jahlxx Posted January 10, 2020 Author Share Posted January 10, 2020 Ok. Perfect. Thanks. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 29, 2021 Author Share Posted April 29, 2021 Hi. How can I change the colors of buttons in fileupload dialogs? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 29, 2021 Share Posted April 29, 2021 5 hours ago, jahlxx said: How can I change the colors of buttons in fileupload dialogs? Hello, Do you mean font color? Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 29, 2021 Author Share Posted April 29, 2021 backgorund color, font color, and so on. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 30, 2021 Share Posted April 30, 2021 18 hours ago, jahlxx said: backgorund color, font color, and so on. Maybe something like this 1. CustomCSS: .customBtn .x-btn-inner { color: green; font-weight: bold; } .customBtn .x-btn-button { background-color: antiquewhite; } 2. addCls UniSession.AddJS( 'Ext.defer(function(){'+ ' var fWin = Ext.WindowManager.getActive();'+ ' if (fWin) {'+ ' fWin.setWidth(310); fWin.setHeight(178); fWin.getEl().select("a.x-btn").setTop(100); fWin.getEl().select("a.x-btn").addCls("customBtn");'+ ' }'+ '}, 200);' ); Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 30, 2021 Author Share Posted April 30, 2021 OK. I'll try. Thanks. 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.