How to force Qt widgets to maintain equal height and width?
-
20-08-2019 - |
Question
I'm using Ruby Qt bindings.
I'm trying to make a square widget (checker board), but it doesn't seem to work. This is the code that I tried
What is the proper way to making a widget that maintains its aspect ratio?
Solution
See this question: How to maintain widget's aspect ratio in Qt?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow