mierlp Posted March 10, 2018 Share Posted March 10, 2018 Hi I use unigui 1.0.0.1425 with uni_mac theme. On the form i place a pagecontrol but you alway see the gradient gray color as background at the top, see imagewith the red arrow How to remove it and make it my own color, in this case white Regards Peter p.s would be nice some extra properties for a pagecontrol like - tabheight - tabwidth - tabspacing (between tabs) - tabposition Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted March 10, 2018 Share Posted March 10, 2018 .x-tab-bar-default { background-color: #ff000000 !important; } Quote Link to comment Share on other sites More sharing options...
mierlp Posted March 10, 2018 Author Share Posted March 10, 2018 Hi Marlon Thanks...but where to put the code, ClientEvents-> ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 10, 2018 Share Posted March 10, 2018 Hi, UniServerModule -> CustomCSS Quote Link to comment Share on other sites More sharing options...
mierlp Posted March 10, 2018 Author Share Posted March 10, 2018 Hi unfortunately...same result and has no effect Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 11, 2018 Share Posted March 11, 2018 Hi unfortunately...same result and has no effect We will check Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 11, 2018 Share Posted March 11, 2018 - tabposition UniPageControl1 -> ClientEvents -> UniEvents : function tabPanel.beforeInit(sender, config) { config.tabPosition = "bottom" } Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 11, 2018 Share Posted March 11, 2018 - tabspacing (between tabs) Can help you: http://forums.unigui.com/index.php?/topic/7582-pagecontrol-how-to-adjust-the-spaces-between-the-tabs/&do=findComment&comment=38686 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 11, 2018 Share Posted March 11, 2018 - tabheight - tabwidth - tabspacing (between tabs) - tabposition function tabPanel.beforeInit(sender, config) { config.tabPosition = "bottom"; //position config.tabBar = { defaults: { height: '60px', //height width: '150px', //width margin: '0 0 0 15' //tabspacing ** } }; } Quote Link to comment Share on other sites More sharing options...
JulioPaladino Posted May 1, 2018 Share Posted May 1, 2018 Hi I use unigui 1.0.0.1425 with uni_mac theme. On the form i place a pagecontrol but you alway see the gradient gray color as background at the top, see image with the red arrow How to remove it and make it my own color, in this case white Regards Peter p.s would be nice some extra properties for a pagecontrol like - tabheight - tabwidth - tabspacing (between tabs) - tabposition Experimente: .x-tab-bar-default { border-style: solid; border-color: #ffffff; } .x-tab-bar-default-top { background-image: -webkit-linear-gradient(top,#ffffff,#ffffff); } A primeira retira a linha superior e a segunda altera a cor de fundo da barra de título do page control. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 1, 2018 Administrators Share Posted May 1, 2018 Hi, There is a new property named Plain. Please set it to True. Quote Link to comment Share on other sites More sharing options...
herculanojs Posted May 26, 2018 Share Posted May 26, 2018 Taking advantage of the topic, how can we turn off that the theme affects certain components. The theme menconado is very beautiful, but it has very dark colas for the backs of forms, panels, pagecontrols, etc. How can we make sure that themes do not affect the controls. It would be interesting to have a property in this sense, which would allow that in certain components we could point out that it was not affected by the theme. 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.