Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTabBar background and QTabWidgets corner widget
Forum Updated to NodeBB v4.3 + New Features

QTabBar background and QTabWidgets corner widget

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    steve
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved