Hi,
what's wrong with doing "QComboBox { border-width:1px; border-style: outset; border-color: red}" ?
Are you trying to do it from the source or designer by the way?
Hi,
what's wrong with doing "QComboBox { border-width:1px; border-style: outset; border-color: red}" ?
Are you trying to do it from the source or designer by the way?
actually I experienced this problem when I changed the QGroupBox main style.
when that style is changed, the QGroupBox::title's padding is gone, so I had to modify it.
the above can be observed by just putting the following style sheet in the designer to a widget:
QGroupBox
{
border-width: 1px;
border-color: #FF0000;
border-radius: 1px;
}
actually I started thinking that I am missing a point about the style sheets.
Last edited by alisami; 7th May 2009 at 10:42.
the problem is that, I only want to change the border width. if I only specify the `border-width` nothing happens. I should also enter the `border-style` and `border-color` as well to see the border of the combo box.
again, what I want to do is to only modify the border-width of any widget without entering the other parameters.
I again tried in the designer but didn't manage to success.
Bookmarks