No, nothing. I use the Designer and just drag and drop a label to the widget.
I figured out, that if I don't apply a layout to the widget, the window is shown maximized. If I chose any layout, the window is shrinking.
Lykurg
Edit: Also if I code by hand same result:
Qt Code:
{ layout->addWidget ( img ); setLayout ( layout ); }To copy to clipboard, switch view to plain text mode






Reply With Quote
Bookmarks