Skip to content

design issues in RTL layout #4776

@ShlomoCode

Description

@ShlomoCode

After I translated iina into Hebrew (with the kind and patient help of @uiryuu at #4742), I note here some display problems that appear only in the Hebrew language which is an RTL (right to left) layout and not in English which is LRT:

  • The main video controls (play/pouse) should be on the left ("end of content"), and the others on the right ("start of content") Mistake. see below

  • When "Show time and battery information in full screen" is enabled in UI settings, the battery icon is displayed garbled:
    CleanShot 2024-01-16 at 05 40 52@2x

  • When there is a scroll bar in the settings, in the RTL layout it should be on the right side of the scrollable content (where I added a yellow line in the picture) and not on the left:
    CleanShot 2024-01-16 at 05 43 47@2x
    this only happens when the system language is LTR, and a RTL language is set for the application in the system settings. when the system language is RTL it is normal, because the buttons are located on the right side.
    but this such a mix is quite a common case.

  • The buttons that open a color picker look a little damaged in shape:
    CleanShot 2024-01-16 at 05 46 33@2x

  • When adding an audio filter, the original sentence is 2 words "default (ffmage)", in Hebrew the only translation is 3 words, but it should not be cut like in the picture but the column will expand as needed to contain all the words:
    CleanShot 2024-01-16 at 06 23 49@2x

  • In "Audio delay" in audio panel the number box is too big, and in Hebrew "שנ'" (sec) is cut off
    Even if I only translate to the first letter (ש), it is partially cut off
    CleanShot 2024-01-20 at 20 02 47@2x

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions