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

Layout: support float, margins, 2-axis align #322

Merged
merged 11 commits into from
May 20, 2022
Merged

Layout: support float, margins, 2-axis align #322

merged 11 commits into from
May 20, 2022

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented May 19, 2022

New float layout allows one widget over another:
float

This also makes use of two-axis alignment: align(right, top).

Spinner now has internal buttons. This requires overriding the margins, as follows:

align(stretch): column: [
    margins(none): self.b_up,
    margins(none): self.b_down,
],

spinner

@dhardy dhardy merged commit eec0db4 into master May 20, 2022
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.

1 participant