Skip to content

Add RTL support#59

Merged
pushpalroy merged 16 commits intomainfrom
feat_add_rtl_support
Nov 24, 2025
Merged

Add RTL support#59
pushpalroy merged 16 commits intomainfrom
feat_add_rtl_support

Conversation

@pushpalroy
Copy link
Copy Markdown
Owner

@pushpalroy pushpalroy commented Nov 23, 2025

This PR adds Right-to-Left (RTL) layout support to the JetLime timeline library. The implementation introduces RTL mirroring for horizontal timelines while maintaining physical LEFT/RIGHT semantics for vertical timelines, which aligns with typical timeline visualization patterns.

Key Changes

  • Added RTL detection using LocalLayoutDirection for horizontal timelines
  • Refactored vertical event content padding to use absolutePadding for physical LEFT/RIGHT positioning
  • Implemented coordinate mirroring logic for horizontal timeline points and connectors in RTL mode

This comment was marked as duplicate.

@pushpalroy pushpalroy self-assigned this Nov 23, 2025
@pushpalroy pushpalroy linked an issue Nov 23, 2025 that may be closed by this pull request
@pushpalroy pushpalroy marked this pull request as ready for review November 23, 2025 14:05
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread jetlime/src/commonMain/kotlin/com/pushpal/jetlime/JetLimeExtendedEvent.kt Outdated
@pushpalroy pushpalroy mentioned this pull request Nov 23, 2025
@pushpalroy pushpalroy merged commit 49ba2f5 into main Nov 24, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] RTL Support

2 participants