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
Forum Update on Monday, May 27th 2025

Setting QMainwindow separator width does not work on linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
qdockwidgetseparator
1 Posts 1 Posters 283 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 18 May 2022, 15:08 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

    1/1

    18 May 2022, 15:08

    • Login

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