Hello
everyone,
I’m
currently
trying to
use
StageStyle.EXTENDED
in my
project,
and I need
to
implement
rounded
corners
for the
window.
However, I
was
surprised
to
discover
that this
is not yet
implemented,
as I
understand
from this
discussion:
https://www.mail-archive.com/[email protected]/msg21892.html
In that
same
thread, it
is
mentioned
that
EXTENDED_TRANSPARENT
“seems to
be very
niche.”
From my
perspective,
EXTENDED_TRANSPARENT
is
actually
the only
correct
approach:
the window
is
transparent,
we add
opaque
nodes,
apply a
radius to
the
corners,
and that’s
it. In my
opinion,
this is
the
simplest
and most
straightforward
way to
allow
users to
have
custom
window
shapes
regardless
of the
operating
system.
For
example,
you can
take a
look at
this
project:
https://github.com/techsenger/stagepro
It was
created
even
before
StageStyle.EXTENDED,
and it
uses
StageStyle.TRANSPARENT
precisely
for this
reason.
Could you
please
share any
plans
regarding
the
implementation
of this
issue?
Without
it, all
windows
remain
rectangular,
which
significantly
impacts
the
design.
And if you
try to
make
rounded
corners
using CSS,
you end up
with
visible
white
artifacts
in the
corners
(I’m using
Linux).
Best
regards,
Pavel