simple adding lable into QVBoxLayout layout does not resize label .
Qt Code:
widget->setLayout(layout); layout->addWidget(label);To copy to clipboard, switch view to plain text mode
But when I add QTabWidget it resizes just fine.
I have tried this scenario using Q Designer and works there.
I have tried changing different sizePolicy of the label and widget, no luck.
what I am doing wrong ??
Bookmarks