Bug Report T303480
Visible to All Users

LayoutControl - Fixed LayoutControlItems aren't scaled when the default font is changed

created 9 years ago

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.

Comments (1)
Sasha (DevExpress Support) 9 years ago

    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.

    Answers approved by DevExpress Support

    created 9 years ago

    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.

      Comments (2)

        Is there a scheduled date for the release? Thx.

        Andrew Ser (DevExpress Support) 9 years ago

          I cannot give you an exact date. Nevertheless, we are planning to release 15.1.8 very soon. Most likely, next week.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.