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

fix: allow padding functions #880

Merged
merged 5 commits into from
Oct 29, 2024

Conversation

bao-ho
Copy link
Collaborator

@bao-ho bao-ho commented Oct 29, 2024

Checklist

Description

This PR concerns label component with bar strategy. The label component can be utilized more flexibly if paddings can be functions with exposed measured text dimensions. With this small change, the label can be positioned accurately at more flexible positions relative to its bar source.
This change is backward compatible and won't affect the current way of using paddings (i.e. as numbers).

@veinfors veinfors changed the title fix: allow padding functiongs fix: allow padding functions Oct 29, 2024
@bao-ho bao-ho merged commit 9560658 into master Oct 29, 2024
10 of 12 checks passed
@bao-ho bao-ho deleted the gqm/label-bar-strategy-allow-padding-functions branch October 29, 2024 13:56
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.

2 participants