I'm back with another stupid newbie question.
I have an app with a screen with a row of QPushbuttons. The customer wishes to be able to re-size the screen and have the buttons re-size with it. But they want the buttons to maintain their aspect ratio. That is, if a button is twice as wide as it is tall, it should keep that ratio of width to height no matter how the button changes its size.
I have experimented with various size policies in Qt Designer, but none of them seem to command the button(s) to obey the initial aspect ratio. Am I missing something? Or is there a way to do this programatically?
Bookmarks