rmwatson
26th June 2010, 20:20
Hello, I am having a small problem styling Scroll Areas.
The attached picture should demonstrate what I am talking about. When there is only a vertical scroll bar showing, the small box that would normally sit in the corner between the 2 Horizontal and vertical scrollbars is visible, and offset downwards so as to obscure the border.
I have a border-width set on QFrame, and this object looks to be a QFrame, and is inheriting that border-width. cant seem to find a way of selecting this box to set its border-width. It seems to be positioned ok when there are both scroll bars.
QWidget>QListWidget
{
border-width: 0px;
}
the above works, but also removed the border from the QListWidgets display frame, that contains the items.
Any suggestions ?
Thanks
Rob.
The attached picture should demonstrate what I am talking about. When there is only a vertical scroll bar showing, the small box that would normally sit in the corner between the 2 Horizontal and vertical scrollbars is visible, and offset downwards so as to obscure the border.
I have a border-width set on QFrame, and this object looks to be a QFrame, and is inheriting that border-width. cant seem to find a way of selecting this box to set its border-width. It seems to be positioned ok when there are both scroll bars.
QWidget>QListWidget
{
border-width: 0px;
}
the above works, but also removed the border from the QListWidgets display frame, that contains the items.
Any suggestions ?
Thanks
Rob.