Add space between toolbar and dock widgets
Unsolved
General and Desktop
-
Hello !
I have in my window a toolbar at the top and a dock widget on the left.
But I don't manage to get any space between them:
The only solution I found is to add an empty top dock widget to create this space.
Isn't it possible to set the space size?Thanks!!
-
Well you can use the layout to add space, or add a spaceritem.
https://doc.qt.io/qt-6/qspaceritem.html#details -
@Maluna34 said in Add space between toolbar and dock widgets:
@Tink It does not work. :(
I'm sorry, my last remark was non-sensical since a dockwidget is not part of the centralwidget. This is probably some very specific dockwidget stuff that i don't know about. Perhaps some of the guru's here will know if it's possible.