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.
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
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.
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
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.
Hello Krystian,
I've reproduced this behavior. I'm forwarding this issue to our developers for further research. You will receive an automatic message once the status of this issue is changed.
Hi,
I've upgraded to 14.1.2 and I'm still able to reproduce this bug on previoulsy attached example app.
Delphi XE5 Update 2 (Version 19.0.14356.6604), Win7 x64 SP1 EN
Hello Krystian,
I've tried to reproduce the problem with your sample after upgrading to the VCL 14.1.2 version of our controls on different machines and different IDEs, but failed. You can see how the sample works on my side using an executable file (*.exe) from the attachment. Perhaps there was something wrong with your update. I recommend you reinstall our controls of VCL 14.1.2 from scratch as it is described in the Q496450: Reinstalling VCL products from scratch thread. I hope that this will help you.
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
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.
It works correctly in v2014 vol 1.3
Thanks!