When the font size of a form is changed globally, layout items don't honor the new font size if the LayoutItem size is locked. This effectively makes changing font sizes and the LayoutControl incompatible, since you would typically have at least some size-locked items. Any thoughts on how work around this? Only thing I can think of is to manually re-size the locked items proportionally to the change in the font size. That doesn't seem like a great solution though.
LayoutControl - Fixed LayoutControlItems aren't scaled when the default font is changed
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v15.2.4Download Official Update
- v15.1.8Download Official Update
I cannot give you an exact date. Nevertheless, we are planning to release 15.1.8 very soon. Most likely, next week.
Hello Steve,
LayoutControl supports the LayoutControl.OptionsView.UseParentAutoScaleFactor property. Set it to true to enable recalculating layout items proportionally.
I noticed however that at the moment this property works incorrectly with fixed items. I'll pass this ticket to our developers for further investigation. We will update this thread once we have any results.