Reputation: 1107
I am writing a custom widget with qt. I was wondering if there was a way that I could hard code the width of the widget so it will always remain that size?
Thanks
Upvotes: 1
Views: 1169
Reputation: 24846
widget->SetFixedWidth(myWidth);
widget->SetFixedHeight(myHeight);
widget->SetFixedSize(mySize);
Upvotes: 4