Hi Patrik, you could try setting the margin to 0
[linux]TitlePane.buttonsMargins = 0,0,0,0 and as bonus, to paint it red: [linux]TitlePane.closeHoverBackground = #c42b1c i haven't really noticed this while testing since I do have a two screen setup, so I am trained to actually point at the button otherwise i would be on a different screen. there is also always the option to disable window decorations, this will switch to native window decorations but you loose the integrated title bar. -mbien On 4/19/25 06:25, Patrik Karlström wrote: > I noted that the FlatLaf Window decorations introduced a new unwanted > behaviour. > When moving the mouse cursor to the topmost & rightmost pixel the mouse is > outside the close button and a click won't close. > > I admit this is a really small problem, but I have always steered away from > themes with this pattern. > > Only tested on Fedora Wayland Plasma so far. > > /Patrik > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists