Skip to content

Fix RTL relayout being skipped for single-line text - #3293

Merged
hecrj merged 1 commit into
iced-rs:masterfrom
hojjatabdollahi:fix-rtl-text
Mar 27, 2026
Merged

Fix RTL relayout being skipped for single-line text#3293
hecrj merged 1 commit into
iced-rs:masterfrom
hojjatabdollahi:fix-rtl-text

Conversation

@hojjatabdollahi

@hojjatabdollahi hojjatabdollahi commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Single-line RTL text are not relayouting and are being drawn outside of the window:

before:
Screenshot_2026-03-26_12-51-23

after:
Screenshot_2026-03-26_12-50-53

fixes #2816

@hecrj hecrj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kek

Thanks!

@hecrj
hecrj enabled auto-merge March 27, 2026 03:24
@hecrj hecrj added this to the 0.15 milestone Mar 27, 2026
@hecrj hecrj added bug Something isn't working text layout fix labels Mar 27, 2026
@hecrj
hecrj merged commit 4f02d83 into iced-rs:master Mar 27, 2026
15 checks passed
@hojjatabdollahi
hojjatabdollahi deleted the fix-rtl-text branch March 27, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix layout text

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RTL Text Centering Issues

2 participants