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. Setting QMainwindow separator width does not work on linux
Qt 6.11 is out! See what's new in the release blog

Setting QMainwindow separator width does not work on linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
qdockwidgetseparator
1 Posts 1 Posters 477 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.
  • C Offline
    C Offline
    cerlin
    wrote on last edited by cerlin
    #1

    I use some QDockwidget for my app layout, put them on top/bottom/left/right area of QMainwindow, remove central widget and set style as

    QMainwindow::separator {
       width: 0px;
       height: 0px;
    }
    

    On windows pc, there is no extra space between each of them.
    But while on linux with the same code,there is always a 10px width separator between them.

    Any idea for this issue?

    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