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 rendering issue

QTabBar rendering issue

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.1k Views
  • 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.
  • P Offline
    P Offline
    p-himik
    wrote on last edited by
    #1

    When i set custom TabBar (or just new QTabBar) with setTabBar() for my TabWidget and set stylesheet for its pane (for example this
    @QTabWidget::pane{}@
    ) 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?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      grove825
      wrote on last edited by
      #2

      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?

      Fabian

      1 Reply Last reply
      0
      • P Offline
        P Offline
        p-himik
        wrote on last edited by
        #3

        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.

        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