summaryrefslogtreecommitdiffstats
path: root/examples/styling
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-06 01:24:04 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-06 01:24:04 +0100
commitacfc815e1df7209d1e43f36e5f465b0ac44294cc (patch)
treef3f88e7dbb21043a8e59073947ad6a1e4e7a99ce /examples/styling
parentfb8dc41f6dee6976395b03cc1fce3d21edb1038a (diff)
downloadiced-acfc815e1df7209d1e43f36e5f465b0ac44294cc.tar.gz
iced-acfc815e1df7209d1e43f36e5f465b0ac44294cc.tar.bz2
iced-acfc815e1df7209d1e43f36e5f465b0ac44294cc.zip
Let checkbox breathe in `styling` example
Diffstat (limited to 'examples/styling')
-rw-r--r--examples/styling/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs
index 50095ec7..47408624 100644
--- a/examples/styling/src/main.rs
+++ b/examples/styling/src/main.rs
@@ -104,6 +104,7 @@ impl Sandbox for Styling {
"Toggle me!",
Message::CheckboxToggled,
)
+ .width(Length::Fill)
.style(self.theme);
let content = Column::new()