Skip to content

Commit

Permalink
LT-20855: Fix unlink button position for right to left
Browse files Browse the repository at this point in the history
Fix the position of the unlink button when the writing system
is right to left.

Change-Id: I818384b8066213b570c39155137ad18ef842d10a
  • Loading branch information
mark-sil committed Apr 10, 2024
1 parent 3183c45 commit 489a33f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Src/LexText/Interlinear/FocusBoxController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 489a33f

Please sign in to comment.