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?
See this question: How to maintain widget's aspect ratio in Qt?