From 489a33f625c15ebbbf60d5f6c646321cd22a2066 Mon Sep 17 00:00:00 2001 From: mark-sil Date: Wed, 10 Apr 2024 14:49:37 -0400 Subject: [PATCH] LT-20855: Fix unlink button position for right to left Fix the position of the unlink button when the writing system is right to left. Change-Id: I818384b8066213b570c39155137ad18ef842d10a --- Src/LexText/Interlinear/FocusBoxController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Src/LexText/Interlinear/FocusBoxController.cs b/Src/LexText/Interlinear/FocusBoxController.cs index d53d325c65..8799507b78 100644 --- a/Src/LexText/Interlinear/FocusBoxController.cs +++ b/Src/LexText/Interlinear/FocusBoxController.cs @@ -200,6 +200,9 @@ private void AdjustControlsForRightToLeftWritingSystem(Sandbox sandbox) btnUndoChanges.Anchor = AnchorStyles.Left; btnUndoChanges.Location = new Point( btnConfirmChanges.Width + btnConfirmChangesForWholeText.Width, btnUndoChanges.Location.Y); + btnBreakPhrase.Anchor = AnchorStyles.Left; + btnBreakPhrase.Location = new Point( + btnConfirmChanges.Width + btnConfirmChangesForWholeText.Width + btnUndoChanges.Width, btnBreakPhrase.Location.Y); btnMenu.Anchor = AnchorStyles.Right; btnMenu.Location = new Point(panelControlBar.Width - btnMenu.Width, btnMenu.Location.Y); }