Important: Please read the Qt Code of Conduct -

QTabBar rendering issue

  • When i set custom TabBar (or just new QTabBar) with setTabBar() for my TabWidget and set stylesheet for its pane (for example this
    ) the 1px horizontal white line is drawn on the top of the tab bar.
    If either setTabBar or pane style sheet is absent there is no any white line.
    If this is a bug is there workaround for it?

  • hi p-himik,

    did you solve this problem?
    I have the same problem at this moment and looking for a solution.
    Can you help me with this?

  • Hi grove825,

    I haven't been coding using Qt for a long time, but as far as I can recall I'd just used a workaround by manually drawing over this line with the color I need.

    I believe I've opened a ticket for this, but I'm not sure.

Log in to reply