Can I make a QMainWindow with a grid layout resize only horizontally but not vertically?
I want its vertical size to be the minimum needed to hold all the buttons/line edits.
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 saw another way in one of the examples in a book called “C++ GUI Programming with Qt 4”. They did it with