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. set QTabBar stylesheet as { qproperty-drawBase: 0; } not work sometime
Forum Updated to NodeBB v4.3 + New Features

set QTabBar stylesheet as { qproperty-drawBase: 0; } not work sometime

Scheduled Pinned Locked Moved General and Desktop
stylesheetstyleqtabbarqdockwidgetdrawbase
2 Posts 2 Posters 2.2k 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
    shengfa.zhang
    wrote on last edited by
    #1

    I set QTabBar style as follow:
    QTabBar { qproperty-drawBase: 0; }
    However, it DOESNOT work sometime after I drag the QDockWidget several times.
    Alt QTabBar-drawBase
    Is it a bug? Or did I miss something?
    I also posted it at stackoverflow. But nobody answered.

    Hr0n0sH 1 Reply Last reply
    0
    • S shengfa.zhang

      I set QTabBar style as follow:
      QTabBar { qproperty-drawBase: 0; }
      However, it DOESNOT work sometime after I drag the QDockWidget several times.
      Alt QTabBar-drawBase
      Is it a bug? Or did I miss something?
      I also posted it at stackoverflow. But nobody answered.

      Hr0n0sH Offline
      Hr0n0sH Offline
      Hr0n0s
      wrote on last edited by Hr0n0s
      #2

      @shengfa.zhang
      try to call on tabBar().adjustSize() each time, when drugging is over...
      I had the same problem...

      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