[Interest] QMessageBox default sizes
Till Oliver Knoll
till.oliver.knoll at gmail.com
Mon Apr 7 15:51:19 CEST 2014
Am 07.04.2014 um 14:28 schrieb Sensei <senseiwa at gmail.com>:
> On 4/2/14, 2:32pm, Sensei wrote:
>> However, I can't set minimum sizes of the dialog with the following:
>>
>> box_->layout()->setSizeConstraint(QLayout::SetMinimumSize);
>> box_->setMinimumSize(400, 150);
>>
>> Could this be a problem in setting constraints before executing the dialog?
>
>
> So... any hint on why I can't set my dialog size?
Just a shot into the dark: whenever I had unexpected results with some layout, it was mostly due to the fact that some parent or child (container) widget did not have a layout manager set.
Cheers,
Oliver
More information about the Interest
mailing list