<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"Iosevka Fixed SS16";
panose-1:2 0 5 9 3 0 0 0 0 4;}
@font-face
{font-family:"Times New Roman \(Body CS\)";
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Aptos",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Iosevka Fixed SS16";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">weather app effect: extend the HeaderBar to the full height, use that as the main container.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">multiple HeaderBars is something we probably should avoid.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16"">-andy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Iosevka Fixed SS16""><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">openjfx-dev <openjfx-dev-retn@openjdk.org> on behalf of Martin Fox <martin@martinfox.com><br>
<b>Date: </b>Friday, November 15, 2024 at 15:24<br>
<b>To: </b>Michael Strauß <michaelstrau2@gmail.com><br>
<b>Cc: </b>OpenJFX <openjfx-dev@openjdk.org><br>
<b>Subject: </b>Re: JEP: JavaFX controls in the title bar<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Perhaps a better app to look at is Mac Weather. The sidebar background color and translucency effects extend all the way to the top of the window. Easy to set up with multiple header bars, considerably more
complicated with just one.<br>
<br>
If an application developer wants this effect we could either tell them to create multiple HeaderBars and make sure they’re all the same height (which is what they were probably planning to do anyway) OR we could tell them to use a single HeaderBarBase and
roll their own solution from scratch including duplicating the SplitPane’s visuals.<br>
<br>
> On Nov 15, 2024, at 2:31</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">PM, Michael Strauß <michaelstrau2@gmail.com> wrote:<br>
> <br>
> I don't really like the idea of supporting multiple HeaderBars. If we<br>
> did that, we'd have application developers deviating from the de-facto<br>
> implementation requirement that a HeaderBar be placed at the top of<br>
> the window, and extend its entire width.<br>
<br>
The Mac API that implements the split UI automatically creates enough toolbars to span the window, places them in the title bar area, and ensures they’re all the same height. I agree the JavaFX API is more piecemeal which would allow developers to mis-configure
the UI. But why would they?<br>
<br>
I’m not going to press on this. It just seems that with a little tweaking we could make multiple HeaderBars work and it would provide a cleaner solution going forward.<br>
<br>
Martin<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>