adding forms don't do dpi scaling properly

Add-in Express™ Support Service
That's what is more important than anything else

adding forms don't do dpi scaling properly
 
Johnnyxp64




Posts: 87
Joined: 2011-05-13
hi

we are using various controls from stadart to devexpress to make our own usercustom controls.
that custom controls are set to DPI scaling, and that control is then placed in a AddinExpress form to load for example inside Outlook.

we found out after several tests, that our controls when loading inside outlook, do now scale properly, the ms or devexpress controls, get a bit crazy, some are becoming use others small etc in 2 or 4k resolutions and more than 100% dpi scaling in windows 10. (150% or 200%) on some microsoft surface devices for example.

we thought it was the controls initially, but if we place them in a normal winform and load our app as .exe in the exact same machine and resolution scaling, our app is scaling properly!

so it seems something in the addinexpress forms, is not allowing scaling to be inherited properly and the apps looks really ugly and unusable!

in our days with devices using huge resolutions and windows 10 scaling automatically so that the content is readable in those resolutions, its extremely important our Addin is doing the same to match the rest of the Outlook or Office scaled UI.

please take a serious look on that subject and try to find and fix the possible bugs.

regards
John
Posted 19 Dec, 2015 15:51:10 Top
Andrei Smolin


Add-in Express team


Posts: 14106
Joined: 2006-05-11
Hello John,

Set the form's AutoSaleMode property to DPI.

Add-in Express doesn't scale forms. As to scaling your form, you can set the form's size basing on the size of a control lying on the same form; please have a look at the sample project at http://temp.add-in-express.com/support/TestDPI.zip.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 21 Dec, 2015 08:20:37 Top
Johnnyxp64




Posts: 87
Joined: 2011-05-13
hi the forms are set to DPI scaling.

i will have a look on the sample project you are recomending thought for further help

thanks
Posted 21 Dec, 2015 08:34:21 Top