<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Can you clarify what you mean by "aligning with" BorderPane?</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Does it mean we are trying to propagate somewhat misleading terminology that was used by the BorderPane (setLeft() in RTL mode results in the added node on the right side, so it should really be named something like setLeading() instead of setLeft()).</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-andy</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="mail-editor-reference-message-container">
<div class="ms-outlook-mobile-reference-message skipProofing">
<meta name="Generator" content="Microsoft Exchange Server">
</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; padding: 3pt 0in 0in; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentcolor currentcolor; font-family: Aptos; font-size: 12pt; color: black;">
<b>From: </b>openjfx-dev <openjfx-dev-retn@openjdk.org> on behalf of Michael Strauß <mstrauss@openjdk.org><br>
<b>Date: </b>Tuesday, October 14, 2025 at 09:40<br>
<b>To: </b>openjfx-dev@openjdk.org <openjfx-dev@openjdk.org><br>
<b>Subject: </b>RFR: 8369836: Update HeaderBar API<br>
<br>
</div>
<div class="PlainText" style="font-size: 11pt;">The `HeaderBar` control currently has three areas: `leading`, `center`, and `trailing`. Additionally, there's `leftSystemInset` and `rightSystemInset`, which are not RTL adjusted. I've come to the understanding
 that there is no particularly good reason for this, because every time you would want to use this information for layout purposes, it should also be adjusted for RTL.<br>
<br>
With this in mind, there are two changes for the `HeaderBar` control:<br>
1. Rename `leading` to `left`, and `trailing` to `right`, which aligns the terminology with `BorderPane`.<br>
2. Adjust `leftSystemInset` and `rightSystemInset` for RTL.<br>
<br>
With this change, the `HeaderBar` control is more semantically consistent and easier to use, and the renamed `left` and `right` areas now show its close relationship with `BorderPane`.<br>
<br>
-------------<br>
<br>
Commit messages:<br>
 - Update HeaderBar API<br>
<br>
Changes: <a href="https://git.openjdk.org/jfx/pull/1936/files" data-outlook-id="c109beaf-82a2-4a4b-9083-b69bcdd84657">
https://git.openjdk.org/jfx/pull/1936/files</a><br>
  Webrev: <a href="https://webrevs.openjdk.org/?repo=jfx&pr=1936&range=00" data-outlook-id="35493858-32d2-477a-acb3-4a3825614a09">
https://webrevs.openjdk.org/?repo=jfx&pr=1936&range=00</a><br>
  Issue: <a href="https://bugs.openjdk.org/browse/JDK-8369836" data-outlook-id="096c7e3a-c5b5-41ff-8c3d-015aeaf5e9e7">
https://bugs.openjdk.org/browse/JDK-8369836</a><br>
  Stats: 212 lines in 3 files changed: 14 ins; 56 del; 142 mod<br>
  Patch: <a href="https://git.openjdk.org/jfx/pull/1936.diff" data-outlook-id="332ebbaa-393f-488e-a547-9e809b239c62">
https://git.openjdk.org/jfx/pull/1936.diff</a><br>
  Fetch: git fetch <a href="https://git.openjdk.org/jfx.git" data-outlook-id="75382c95-0f61-4e14-9aaa-678cac26073c">
https://git.openjdk.org/jfx.git</a> pull/1936/head:pull/1936<br>
<br>
PR: <a href="https://git.openjdk.org/jfx/pull/1936" data-outlook-id="ded5dd51-f34b-403b-9950-b66f3e9fd5a4">
https://git.openjdk.org/jfx/pull/1936</a><br>
</div>
</div>
</body>
</html>