Skip to content

Support automatic style type casting for Buttons.#2046

Merged
hecrj merged 3 commits intoiced-rs:masterfrom
dtzxporter:dtzxporter-patch-1
Sep 3, 2023
Merged

Support automatic style type casting for Buttons.#2046
hecrj merged 3 commits intoiced-rs:masterfrom
dtzxporter:dtzxporter-patch-1

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
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

Comments