Skip to content

Fix navigator alignment for right-to-left localizations

Felix Ernst requested to merge felixernst/dolphin:reversealignment into release/20.12

Currently alignment of the new navigators in the toolbar does not work correctly when Dolphin is used in right-to-left mode: The left and right spacing is reversed. In split view mode the alignment is completely broken.

This MR fixes both by correctly reversing the screen coordinates if necessary prior to calculating the spacing.

Test plan: Launch Dolphin with the "-reverse" parameter.

This fix targets 20.12.

Edited by Felix Ernst

Merge request reports

Loading