Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

label offset added #12

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

SahilSharma2710
Copy link
Collaborator

  • added deprecated comment for labelTopMargin

Screenshot 2023-02-28 at 5 58 47 PM

  • added labelOffset property in labelStyle.
    this was the output

Screenshot 2023-02-28 at 5 59 55 PM

  • if user gives labelTopMargin when rulerPosition is bottom or center then labelTopMargin is used over labelOffset(in line 444 )

Screenshot 2023-02-28 at 6 00 44 PM

-in case of rulerPosition top it works fine

Copy link
Contributor

@hasnentai hasnentai left a comment

Choose a reason for hiding this comment

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

LGTM

@hasnentai
Copy link
Contributor

Thanks for the detailed explanation and Screenshot that helped to review it quickly

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.

Add and Offset to the RulerLabels which will allow an extra room around labels of rulers
2 participants