Implement theme styling for PickList and Menu
This commit is contained in:
parent
97555e67af
commit
396735b682
14 changed files with 168 additions and 247 deletions
|
|
@ -1,7 +1,6 @@
|
|||
//! This example showcases an interactive version of the Game of Life, invented
|
||||
//! by John Conway. It leverages a `Canvas` together with other widgets.
|
||||
mod preset;
|
||||
mod style;
|
||||
|
||||
use grid::Grid;
|
||||
use iced::executor;
|
||||
|
|
@ -195,8 +194,7 @@ fn view_controls<'a>(
|
|||
.push(
|
||||
pick_list(preset::ALL, Some(preset), Message::PresetPicked)
|
||||
.padding(8)
|
||||
.text_size(16)
|
||||
.style(style::PickList),
|
||||
.text_size(16),
|
||||
)
|
||||
.push(
|
||||
button("Clear")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue