2018-07-30 15:17 UTC
I have a dialogue with a "picture box" control; the control displays a PNG. On each corner of the picture I have an edit-box. The dialogue should be displayed at 4K and at standard monitor.
Now I made two versions of the dialogue:
- one where all font-settings are set to "pixel size"
- one where all font-settings are set to "monitor scale"
The result on 4k is:
- the position and the fonts of all controls is scalled
- BUT the PNG inside is not scaled
- so all edit-boxes are no more on the corners of the red area
What is wrong? What to do to scale the image too?
Now I made two versions of the dialogue:
- one where all font-settings are set to "pixel size"
- one where all font-settings are set to "monitor scale"
The result on 4k is:
- the position and the fonts of all controls is scalled
- BUT the PNG inside is not scaled
- so all edit-boxes are no more on the corners of the red area
What is wrong? What to do to scale the image too?



