Alcaro / minir

A libretro frontend focusing on a native look and a smooth out-of-the-box experience.
Other
50 stars 4 forks source link

Resizable Windows? #11

Open RobLoach opened 7 years ago

RobLoach commented 7 years ago

Allow resizing the window, keeping the aspect ratio?

Alcaro commented 7 years ago

There's a config button for that. Though I think it takes integers only. And yeah, actual resize is more convenient.

I tried, but couldn't find a way to make GTK+ keep the aspect ratio; there is gtk_window_set_geometry_hints which has an aspect ratio field, but last time I checked, setting min/max_aspect to 1 still allowed a few non-square aspects.

If you can find a better method (or evidence that it's improved since I last tried), I'll add it. If not, yawn.