Bug Report T103748
Visible to All Users

TdxBarControlContainerItem whose Align property is set to iaClient is incorrectly sized with its parent toolbar if the toolbar's WholeRow, UseRestSpace, and BorderStyle properties are set to True, True, and bbsNone respectively

created 11 years ago

When you have TPanel (or I assume any control) that is in TdxBarControlContainerItem as Control, and you resize form, then Panel won't be correctly re-sized (it does not shrink correctly).
Example app included as an attachment.

Show previous comments (3)
KB KB
Krystian Bigaj (KB) 11 years ago

    Hi Mikhail ,
    I've tried to recompile and uninstall/install (also with cleanup tools from "Reinstalling VCL products from scratch"), but it didn't help.
    But I've found a possible reason why you cannot reproduce it - I'm installing DevEx with NativeStyle=True
    Your exe works fine, but when I recompile your example project, then bug appears again.
    If I run your project with dxBarManager1.LookAndFeel.NativeStyle:=False then it works correctly.
    Try to compile your/mine example project with dxBarManager1.LookAndFeel.NativeStyle:=True

    DevExpress Support Team 11 years ago

      Thank you for the information. I've reproduced this with enabled NativeStyle. We will examine this behavior and get back to you once we have any results. Thank you for your patience.

      KB KB
      Krystian Bigaj (KB) 11 years ago

        It works correctly in v2014 vol 1.3
        Thanks!

        Answers approved by DevExpress Support

        created 11 years ago (modified 11 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)
          AS AS
          Andre Szünstein 10 years ago

            Hi,
            after upgrading from 12.2.2 to the current version (14.2.6) I am getting the mentioned resize problems again.
            Resize is triggered only, when enlarging the form.
            I have looked into the changes between 13.2.5 and 14.2.6. The changes to TdxBarControl.SetNewBounds do not fix the issue in windows 7.
            Changing the comparison to NULLREGION from equal to unequal solves the issue.
            Best regards,
             Andre

            DevExpress Support Team 10 years ago

              Hello Andre,

              To process your recent post more efficiently, I created a separate ticket on your behalf: T244603: After upgrading from 12.2.2 to the current version (14.2.6) I am getting the resize problems as in T103748. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

              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.