Page 1 of 1
Error creating scaled form with TRibbon.
Posted: Mon Oct 19, 2020 10:50 am
by HAiDA
I have an editor based on the ActionTestRibbon demo, and if the magnification in Windows is set to 125%, I get an error when creating the form with Ribbon. The demo ActionTestRibbon is behaving correctly, but I can't figure out why my form isn't working at all. It works properly at 100% magnification. Testing on Delphi 10.4.1. Does anyone have more experience with Ribbon? Thank you.
Re: Error creating scaled form with TRibbon.
Posted: Mon Oct 19, 2020 1:22 pm
by HAiDA
In fact, the demo also doesn't work. When I set DPI Awareness to Per Monitor v2, an error also occurs when creating the form. I assume that this is again a TRibbon error
Re: Error creating scaled form with TRibbon.
Posted: Tue Oct 20, 2020 11:00 am
by Sergey Tkachenko
I am afraid TRibbon supports only 96 dpi.
I suggest searching for a third-party alternative.
Re: Error creating scaled form with TRibbon.
Posted: Tue Oct 20, 2020 1:16 pm
by HAiDA
This would explain the rendering errors.
100%
- Snap552.png (25.77 KiB) Viewed 13247 times
125%
- Snap553.png (29.97 KiB) Viewed 13247 times