Problems with layout settings, especially borders
-
Hello guys,
I am new to the community and Qt. After doing the tutorial series to learn more about Qt I decided to step into the next level, in fact, that I am creating a small SQL-application in form of a lightweight studio etc..
After working through the documentation, I came across a "not yet solvable" problem.
That means for example:As you can see on the picture below, there is a menu bar, a toolbar, a tab widget and two dock widgets inside the main widget.
Lets have a look at the first one. Below the toolbar there is a gap, border, space whatever between this toolbar and the dock widget. The same inside the other dock widget.I set the stylesheet inside the "MainWindow" to have a central place to design everything like this:
Here are also the layout settings of the main window component:
Do you guys have any idea to remove this spaces/borders etc. ?
Really thank you for your time.Greetings
-
Hi
Not sure what actual widget that does it but withQWidget { Border : 0px; }
on mainwindow it goes away.
So its something inside DockWidget but i didn't dig around to find exact name.
Update:
Seems to be the titleQDockWidget::title {
background: red;
} -
@Gr3enP0ison
Super :)
And welcome to the forums.