Skip to content

Commit

Permalink
LT-20855: Fix unlink button position for right to left (#24)
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 authored Apr 11, 2024
1 parent c3f7329 commit d0e4523
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 d0e4523

Please sign in to comment.