erich.wanker Posted January 30, 2023 Share Posted January 30, 2023 Hello this is my solution for my customers to change the colors - it works in your existing unigui-application. If you will used it -and make it better 😉 - please post your work here  HowTo: Please set Theme "triton.modified" in UniMainModule you need public vars in UniMainModule: my_text_under_highlite, texthintergrund, texthintergrund_focus, my_color, hintergrundfarbe, randfarbe, textfarbe : String; you need a hidden "UniHTMLFrame2" in Mainform ..and the Form in the zip 😉 unigui_UI.webm colors.zip 2 4 Quote Link to comment Share on other sites More sharing options...
Fred Montier Posted July 7, 2023 Share Posted July 7, 2023 Nice,, Â Quote Link to comment Share on other sites More sharing options...
picyka Posted September 14, 2023 Share Posted September 14, 2023 class procedure TThemeUtils.ConfigureCSS(Obj, Element, Value: String); begin UniSession.AddJS('Ext.util.CSS.updateRule(''' + Obj + ''', ''' + Element + ''', ''' + Value + ''')'); end; TThemeUtils.ConfigureCSS('.x-btn-default-small','background-color', '#353935'); An interesting tip. 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.