<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I would rather clarify the incorrect labels in the existing components.  We obviously cannot change setLeft() - perhaps we should add explanation to the corresponding javadoc explaining RTL behavior.  I would like to avoid making the same mistake going forward.</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);">
-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 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>Michael Strauß <michaelstrau2@gmail.com><br>
<b>Date: </b>Tuesday, October 14, 2025 at 10:02<br>
<b>To: </b>Andy Goryachev <andy.goryachev@oracle.com><br>
<b>Cc: </b>Michael Strauß <mstrauss@openjdk.org>, openjfx-dev@openjdk.org <openjfx-dev@openjdk.org><br>
<b>Subject: </b>[External] : Re: RFR: 8369836: Update HeaderBar API<br>
<br>
</div>
<div class="PlainText" style="font-size: 11pt;">Yes, exactly. "Left" and "right" is used in several places in JavaFX<br>
(BorderPane, AnchorPane, Insets) to effectively mean "leading" and<br>
"trailing".<br>
HeaderBar is different, because it uses "left", "right", as well as<br>
"leading" and "trailing" with a different definition than the other<br>
controls (leading and trailing are RTL adjusted, while left and right<br>
are not).<br>
My proposal is to just accept that "left" and "right" are JavaFX<br>
terminology for RTL-adjusted leading and trailing areas.<br>
<br>
<br>
On Tue, Oct 14, 2025 at 6:52 PM Andy Goryachev<br>
<andy.goryachev@oracle.com> wrote:<br>
><br>
> Can you clarify what you mean by "aligning with" BorderPane?<br>
><br>
> 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()).<br>
><br>
> Thanks,<br>
> -andy<br>
</div>
</div>
</body>
</html>