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 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 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 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 Link to comment Share on other sites More sharing options...
Abaksoft Posted November 3, 2015 Share Posted November 3, 2015 +1 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. 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. 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. 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. Link to comment Share on other sites More sharing options...
Sherzod Posted April 27, 2021 Share Posted April 27, 2021 Use cls config. 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