Skip to content

Conversation

gi0e5b06
Copy link
Contributor

The UI is great but too small (on my 1600x900@20″). The problem should be even bigger with HiDPI screens. So here is a simple patch that multiply every thing by the constant GUI_SCALE defined in src/synth/constants.h . Can only be an integer (1, 2, 3, ...), 1 being the actual size 633x437. Of course, you have to scale the images of your theme accordingly. Only tested on xlib but should work with every toolkit. It wasn't difficult to implement thanks to the well-written code that uses variables for positioning the widgets.

@biopsin
Copy link

biopsin commented Aug 23, 2020

Would love this commit happen, at the moment on 3840:2160 monitor its unusable

@ShantySuffisance
Copy link

I've successfully compiled oxefmsynth with GUI_SCALE=2 but the result is messy:
grafik
do i just need to scale all images in skins too? Do you have a skin ready, that works with higher resolution?
thx!

@ShantySuffisance
Copy link

do i just need to scale all images in skins too?

no. I've enlarged the skin files with magick input.bmp -magnify input.bmp but the result unfortunately stays the same.
Any help in using the GUI_SCALE-branch is appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants