QTabBar background and QTabWidgets corner widget



  • Hi,
    I'm trying to style the background of the QTabBar for my QTabWidget
    @QTabBar{background-color:white;}@
    This works fine however the background of the QTabWidgets cornerwidget is not affected.

    !http://i.imgur.com/svzOs.png(image showing problem)!

    This image shows a QTabBar I've styled to have a white background, and a QLabel set as the corner widget styled with a blue background.

    The QTabBar is shrinking to fit the corner widget which makes sense, however I have no idea how to set the background that appears above the label. For example, trying to set a background to QTabWidget::right-corner does not work.

    Any ideas?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.