Hello,
Is there a keep aspect size policy that can be set for a dialog? If not, why not?
I don't see any such option in Designer or the API.
Thanks,
Ben
Printable View
Hello,
Is there a keep aspect size policy that can be set for a dialog? If not, why not?
I don't see any such option in Designer or the API.
Thanks,
Ben
I don't know such an option, but you can easily watch Size changes through resizeEvent(QResizeEvent *event) and set your appropriate width or hight according to the other.
Yea, figured as much, but that just seems clunky IMHO. It'd be nice to be able to set this policy for any widget in Designer.
Thanks for reply.