jimsweb 0 Posted July 5, 2022 I created a demo app in Delphi 11.1 and when I maximize the window, the title bar height gets re-sized (squeezed). It looks like it is windows' default behavior. How do I prevent it? I just wanted to keep the same title bar height even when the window is maximized. When window not maximized - When window maximized and title bar height is automatically reduced!! It looks so annoying to me - Is there a way to prevent this behavior? Can someone please advise me - how do we prevent this behavior? I just want to keep the title bar width without getting it changed. Or is there a way to manually reduce/clip form's client area size near to the form title, so that the form title height remains the same always? Share this post Link to post
Lajos Juhász 293 Posted July 6, 2022 Wait for the next Delphi release and try to use custom title bar. Unfortunately, in D11.1 custom title bar have bugs that should be addressed before it can be used. Share this post Link to post
Angus Robertson 574 Posted July 6, 2022 Never noticed that behaviour in Windows before, but it is obvious when you look closely. I assume it was introduced when Microsoft decided Windows should have curved corners rather than rectangular, so perhaps style related. Angus Share this post Link to post