View Full Version : Keep aspect size policy?
brcain
21st April 2009, 17:02
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
Lykurg
21st April 2009, 17:07
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, 17:18
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.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.