You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
thank you for your continuous hard work on this great package! I recently updated the pdf plugin to version ^3.10.5 and noticed that setting textDirection: pw.TextDirection.rtl now not only affects the text direction but also renders the widget layout from right to left.
In my use case, I want to have RTL support for the text only, while keeping the overall widget layout unaffected (LTR). Before this update, it worked as expected, but with the recent changes, the textDirection property now affects both text and widget layout, which might not be suitable for all cases.
Would it be possible to:
Separate textDirection (for text rendering) and layoutDirection (for widget layout)?
The textDirection should only impact the text flow, while layoutDirection should control how widgets are laid out.
Revert to the previous behavior where textDirection only impacted the text direction.
This separation would give more flexibility for mixed RTL and LTR content, allowing better control over text and layout independently.
Thank you again for maintaining this project, and I appreciate your consideration of this request!
The text was updated successfully, but these errors were encountered:
Hi,
thank you for your continuous hard work on this great package! I recently updated the pdf plugin to version ^3.10.5 and noticed that setting textDirection: pw.TextDirection.rtl now not only affects the text direction but also renders the widget layout from right to left.
In my use case, I want to have RTL support for the text only, while keeping the overall widget layout unaffected (LTR). Before this update, it worked as expected, but with the recent changes, the textDirection property now affects both text and widget layout, which might not be suitable for all cases.
Would it be possible to:
Separate textDirection (for text rendering) and layoutDirection (for widget layout)?
The textDirection should only impact the text flow, while layoutDirection should control how widgets are laid out.
Revert to the previous behavior where textDirection only impacted the text direction.
This separation would give more flexibility for mixed RTL and LTR content, allowing better control over text and layout independently.
Thank you again for maintaining this project, and I appreciate your consideration of this request!
The text was updated successfully, but these errors were encountered: