How to set the ratio of width and height of the widget?
-
@mikeeeeee
Since Qt always adopts the convention of naming setter functionsset...
, did you tryvoid QSizePolicy::setHeightForWidth(bool dependent)
?
@mikeeeeee
Since Qt always adopts the convention of naming setter functions set...
, did you try void QSizePolicy::setHeightForWidth(bool dependent)
?