summaryrefslogtreecommitdiffstats
path: root/examples/game_of_life/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-06-07 04:51:44 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-06-07 04:51:44 +0200
commit396735b682433928f52ba777891e14f2fbc703c7 (patch)
treebd275980a2fe6bc2efa7288f08db007dcaa7b6a4 /examples/game_of_life/src/main.rs
parent97555e67af8b4bcc77df69c5e72156e14948150e (diff)
downloadiced-396735b682433928f52ba777891e14f2fbc703c7.tar.gz
iced-396735b682433928f52ba777891e14f2fbc703c7.tar.bz2
iced-396735b682433928f52ba777891e14f2fbc703c7.zip
Implement theme styling for `PickList` and `Menu`
Diffstat (limited to 'examples/game_of_life/src/main.rs')
-rw-r--r--examples/game_of_life/src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/game_of_life/src/main.rs b/examples/game_of_life/src/main.rs
index fa97583f..b2ae6953 100644
--- a/examples/game_of_life/src/main.rs
+++ b/examples/game_of_life/src/main.rs
@@ -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::button::{self, Button};
@@ -877,8 +876,7 @@ impl Controls {
Message::PresetPicked,
)
.padding(8)
- .text_size(16)
- .style(style::PickList),
+ .text_size(16),
)
.push(
Button::new(&mut self.clear_button, Text::new("Clear"))