How to resize QDockWidget objects with a mouse? There seems only 1px border to use a resize functionality. How to make this area larger?
Or may be it’s a QMainWindow object property? which handle this qdocks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume you are talking about the splitter/separator between the dock widget and whatever is on the other side.
You can set a style sheet on your mainwindow like the following:
This tells the main window to make the separator 4 pixels instead of 1.
You can set the style sheet in the designer using the stylesheet editor, or you can pass it as a string using setStyleSheet(QString);
Hope this helps.