Skip to content

Fix Inspector Editor Paginator in RTL. - #125886

Open
BrotherShort wants to merge 1 commit into
godotengine:masterfrom
BrotherShort:Fix-EditorPaginator
Open

BrotherShort wants to merge 1 commit into
godotengine:masterfrom
BrotherShort:Fix-EditorPaginator

Conversation

@BrotherShort

@BrotherShort BrotherShort commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

What problem(s) does this PR solve?

Additional information

LTR:

image

RTL Before:

image

RTL After:

image

Arrow directions are correct.

Page numbers 1/2 remain LTR.

Added TTRC for /.

@BrotherShort
BrotherShort requested a review from a team as a code owner November 27, 2026 17:10
@AThousandShips AThousandShips added this to the 4.x milestone Nov 27, 2026
@bruvzg

bruvzg commented Nov 27, 2026

Copy link
Copy Markdown
Member

Page numbers 1/2 remain LTR.

This is not how it supposed to be, it should be displayed as 2 / [1] instead, probably by keeping container RTL (forcing containers to LTR is only acceptable in some edge cases), and splitting page_count_label into 2 labels (one for count and one static for /, which should be localizable string with translation_context set).

Screenshot 2026-11-27 at 19 56 09 Screenshot 2026-11-27 at 19 56 48

@BrotherShort

Copy link
Copy Markdown
Contributor Author

Page numbers 1/2 remain LTR.

This is not how it supposed to be, it should be displayed as 2 / [1] instead, probably by keeping container RTL (forcing containers to LTR is only acceptable in some edge cases), and splitting page_count_label into 2 labels (one for count and one static for /, which should be localizable string with translation_context set).

Screenshot 2026-11-27 at 19 56 09 Screenshot 2026-11-27 at 19 56 48

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Right-to-Left: Inspector Editor Paginator is not displaying correctly.

3 participants