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

Support automatic style type casting for Buttons. #2046

Merged
merged 3 commits into from
Sep 3, 2023
Merged

Support automatic style type casting for Buttons. #2046

merged 3 commits into from
Sep 3, 2023

Conversation

dtzxporter
Copy link
Contributor

@dtzxporter dtzxporter commented Aug 21, 2023

Changes the signature of Button::style to use impl Into<...> instead of taking the style sheet itself. (Matches other widgets).

@hecrj hecrj added this to the 0.11.0 milestone Sep 3, 2023
@hecrj hecrj added improvement An internal improvement styling labels Sep 3, 2023
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Thanks!

dtzxporter and others added 2 commits September 3, 2023 08:38
Changes the signature of Button::style to use `impl Into<...>` instead of taking the style sheet itself. (Matches other widgets).
@hecrj hecrj enabled auto-merge September 3, 2023 06:42
@hecrj hecrj added the change label Sep 3, 2023
@hecrj hecrj merged commit 2c51e34 into iced-rs:master Sep 3, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change improvement An internal improvement styling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants