Weird position of QDockWidget across from QTabWidget
-
Hello folks,
I designed a QMainWindow in Qt designer. This window have a QDockWidget and a QTabWidget. But the two widget aren't at the same "height". The QDockWidget doesn't go as deep as the QTabWidget. This behavior is really weird and I have no clue about its origin. Does anybody can help.
Thanks in advance.
!http://i.imgur.com/0NXFVTW.png(Wrong align)!
-
Hi,
Do you mean the content of the dock widget is not at the same height as the QTabWidget ?
-
AFAIK this depends partly on the widget you set on the dock widget (i.e. margin/spacing of layouts etc...)
-
You could try to play with the margin/spacing of the layout of QDockWidget