Em qui., 24 de out. de 2024 18:32, Michael Strauß <michaelstr...@gmail.com>
escreveu:

> > Sounds like a good idea, maybe stage.setHeaderBar(), which can be the
> HeaderBar provided or a custom Control (any control, or that extends
> HeaderBar, because the reserved space on Mac).
> >
> > This also limits the control usage on the top.
>
> What would be the advantage of this, compared to the proposal?
> How does this interact with the scene graph?
> How would I create a control that extends from the client area all the
> way into the header area?
>

I thought as a way to avoid having multiple HeaderBar, to restrict it being
on top and to avoid conflicting with TRANSPARENT stage style, specially on
Linux because of the rounded corners (and maybe other combinations of
transparent + HeaderBar)

But you have a good point about the interaction with the Scene graph.

It must be part of the Scene, of course, but it's also a Window
characteristic. Would be nice to find a way to express it in one way that
fits both.

Reply via email to