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

Feat: add text and icon default anchor options #155

Merged
merged 1 commit into from
May 22, 2024

Conversation

bbazukun123
Copy link
Collaborator

  • Allow the individually setting of default anchor of the content components, ie. the text and icon.
  • If not specified, the anchor for both will be 0.5 on both axes.
  • This can be useful for situations where you want to align the dynamic content to one side, eg. an localised text aligning left at a fix point on the button, pairing nicely with the offset options.
  • Examples have been updated with these new anchor options.

@Zyie Zyie merged commit ea4096c into v1.x May 22, 2024
3 checks passed
@Zyie Zyie deleted the feature/fancy-button-content-anchors branch May 22, 2024 09:55
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.

None yet

2 participants