DevCharly commented on PR #4335:
URL: https://github.com/apache/netbeans/pull/4335#issuecomment-1176862834

   @Chris2011 and @eirikbakke yes, this is FlatLaf trying to behave similar to 
Windows system title bar. If you disable FlatLaf title bar (Options > 
Appearance > FlatLaf > Window decorations"), then you can see similar behavior: 
the title bar height is smaller if window is maximized, which gives the main 
content a little bit more space.
   
   I think this is Win32 API specific behavior.
   Newer WinUI API apps (e.g. Windows 11 Explorer, Paint, etc) do not make 
title bar height smaller when maximized.
   
   This behavior can be disabled by adding `TitlePane.buttonMaximizedHeight = 
0` to `FlatLaf.properties`.
   Default value is `22`. Not maximized title bar height is `30`.
   
   From my side, I'm fine with disabling this in NB.
   (I am considering disabling this in a future version of FlatLaf)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to