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
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.
brcain (21st April 2009)
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.
Last edited by brcain; 21st April 2009 at 17:22.
Bookmarks