Jump to content

HowTo : remove background color on PageControl (see attachment)


mierlp

Recommended Posts

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

 

post-510-0-22648600-1520707137_thumb.png

Link to comment
Share on other sites

- 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 **
        }
    };
}
Link to comment
Share on other sites

  • 1 month later...

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.
Link to comment
Share on other sites

  • 4 weeks later...
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...