leandroavila74 Posted October 26, 2015 Share Posted October 26, 2015 Hello, how do I set the color of a button, regardless of the theme used? can be "uniButton" or "uniBitBtnButton" Leandro Quote Link to comment Share on other sites More sharing options...
mhmda Posted October 30, 2015 Share Posted October 30, 2015 http://forums.unigui.com/index.php?/topic/5861-change-background-color-button/&do=findComment&comment=30082 Quote Link to comment Share on other sites More sharing options...
yxzzjg Posted November 2, 2015 Share Posted November 2, 2015 http://forums.unigui.com/index.php?/topic/5861-change-background-color-button/&do=findComment&comment=30082 color button of how the definition of value? and is not the same delphi Quote Link to comment Share on other sites More sharing options...
mhmda Posted November 3, 2015 Share Posted November 3, 2015 I think you need to understand CSS http://w3schools.com/css 1 Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted November 3, 2015 Share Posted November 3, 2015 +1 Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 27, 2021 Share Posted April 27, 2021 On 10/30/2015 at 7:02 PM, mhmda said: http://forums.unigui.com/index.php?/topic/5861-change-background-color-button/&do=findComment&comment=30082 Hi. Can I do this only defining color in customcss? I need to apply one color for every button in my application. Thanks. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 27, 2021 Share Posted April 27, 2021 For example, in custom css, I have this: .x-btn-button{ border-color: #196f3d !important; background-color: #196f3d !important; } And works, but border is not changed. Any idea? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 27, 2021 Share Posted April 27, 2021 46 minutes ago, jahlxx said: And works, but border is not changed. Hello, Also try with border-style, border-width. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted April 27, 2021 Share Posted April 27, 2021 29 minutes ago, Sherzod said: Hello, Also try with border-style, border-width. Sorry how? With this: .x-btn-button{ border-style: solid !important; border-width: 1px !important; border-color: #196f3d !important; background-color: #196f3d !important; } The button looks like this: It is a tunibitbtn. I need to do it in buttons and bitbuttons, but not in toolbarbuttons. Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 27, 2021 Share Posted April 27, 2021 Use cls config. 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.