Gord P 14 Posted April 23, 2023 Very simple to reproduce. 1. Add a TTitleBarPanel to the form. 2. In the Form's CustomTitleBar property, set Enable to True and set Control to TitleBarPanel1 as you are supposed to. 3. Drag the corner handle for the Form to resize and voila - instead of the form getting bigger, it stays the same size and white space shows up (see image below). The same happens if you increase the width or height properties of the form in the object inspector. When you run the program the form shows up as the increased size. If you add a button to the white area it doesn't show up at design time but does show up at run time. I don't see this issue online or in QP. Any idea what is happening? Am I supposed to change a setting somewhere when using TTitleBarPanel or is this a bug? I am using C++Builder (11.3) but I am sure this is not language specific (if someone can confirm this with a Delphi installation that would great - thanks) Share this post Link to post
programmerdelphi2k 237 Posted April 23, 2023 (edited) here, using RAD 11.3 (Delphi) I dont see this problem... Update 1 Edited April 23, 2023 by programmerdelphi2k Share this post Link to post
Lajos Juhász 293 Posted April 24, 2023 I saw bugs when using custom title bars, but resizing worked always fine for me. I am using Delphi 11.2. Share this post Link to post
Gord P 14 Posted April 24, 2023 Hmm. Okay. Thanks to you both. Well it does it for me every time on two different installations (one VM and one not). Maybe I was mistaken that it had nothing to do with the C++ personality. Share this post Link to post
Van 0 Posted September 26, 2023 I've installed a new version of Delphi 11.3 on windows ll and I have the same problem with the form's right/bottom edges disappearing after you add a TTitlebar. The problem persists even after removing the Titlebar. Any idea how to resolve this? Share this post Link to post
uligerhardt 18 Posted September 26, 2023 (edited) 5 hours ago, Van said: I've installed a new version of Delphi 11.3 on windows ll and I have the same problem with the form's right/bottom edges disappearing after you add a TTitlebar. The problem persists even after removing the Titlebar. Any idea how to resolve this? Never used TTitlebar but this sounds like there are related units left in the uses clause after removing the component. So maybe the problem hides in some initialization section? Edited September 26, 2023 by uligerhardt Share this post Link to post
Gord P 14 Posted September 27, 2023 There is a work around here - at least for my case. Still had to fiddle with it. It needs to be fixed for real though. https://quality.embarcadero.com/browse/RSP-41798 HTH Share this post Link to post