View Full Version : How to Verticalyl right align Title Bar QDockWidget
vaibhav
29th June 2011, 10:46
Hi,
I want to align the title bar of QDockwidget vertically right .
QT aligns it vertically to left.
How can i vertically right align it .
Thanks,
Rachol
29th June 2011, 12:54
dockWidget->titleBarWidget()->setLayoutDirection ( Qt::RightToLeft );
Edit.
I din't get what you meant in your question. Now, I am not sure if you can change it, in the documentation it is stated that the title will be placed on the left side. You can try to set
dockWidget->setLayoutDirection ( Qt::RightToLeft ), but I am not sure if that is going to do anything good...
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.