diff options
| author | 2021-10-18 16:02:30 +0700 | |
|---|---|---|
| committer | 2021-10-18 16:02:30 +0700 | |
| commit | 3140cdc4babcefc444f1c1d30eb0f5f4ed1df054 (patch) | |
| tree | b3ea963a73118d5f0bfd7d875ba776ee51466f9b /examples/pane_grid | |
| parent | 95acc1deb89c4e75b513edb0f4d53b83c7f75b30 (diff) | |
| download | iced-3140cdc4babcefc444f1c1d30eb0f5f4ed1df054.tar.gz iced-3140cdc4babcefc444f1c1d30eb0f5f4ed1df054.tar.bz2 iced-3140cdc4babcefc444f1c1d30eb0f5f4ed1df054.zip | |
Wire up styling to `Button` in `iced_native`
Diffstat (limited to '')
| -rw-r--r-- | examples/pane_grid/src/main.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/pane_grid/src/main.rs b/examples/pane_grid/src/main.rs index 844b604d..4126485d 100644 --- a/examples/pane_grid/src/main.rs +++ b/examples/pane_grid/src/main.rs @@ -158,7 +158,7 @@ impl Application for Example { let pin_button = Button::new(&mut pane.pin_button, Text::new(text).size(14)) .on_press(Message::TogglePin(id)) - .style(style::Button::Pin) + .style(&style::Button::Pin) .padding(3); let title = Row::with_children(vec