Fantastic, thank you!

/Patrik

PS
Is it also an option to change the order of the elements to something like
close, min,max, menu, title, quicksearch, window?

Den lör 19 apr. 2025 kl 22:02 skrev Michael Bien <mbie...@gmail.com>:

> 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
> >
>
>

Reply via email to