summaryrefslogtreecommitdiffstats
path: root/examples/stopwatch
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-02-17 16:53:02 +0100
committerLibravatar GitHub <noreply@github.com>2023-02-17 16:53:02 +0100
commit7dc1fb488ddbd12519571b51d75ae0c28875911d (patch)
tree92590830b23bb714ec8024766fef7273b041bbf3 /examples/stopwatch
parentf75e0202575ca6e3ebf7d817eecbf51e198506fd (diff)
parentfd1408693322f5bfdaee7f27bd098808658d7310 (diff)
downloadiced-7dc1fb488ddbd12519571b51d75ae0c28875911d.tar.gz
iced-7dc1fb488ddbd12519571b51d75ae0c28875911d.tar.bz2
iced-7dc1fb488ddbd12519571b51d75ae0c28875911d.zip
Merge pull request #1711 from iced-rs/feature/generic-pixel-units
Generic pixel units
Diffstat (limited to 'examples/stopwatch')
-rw-r--r--examples/stopwatch/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stopwatch/src/main.rs b/examples/stopwatch/src/main.rs
index b8cee807..9581a3ce 100644
--- a/examples/stopwatch/src/main.rs
+++ b/examples/stopwatch/src/main.rs
@@ -105,7 +105,7 @@ impl Application for Stopwatch {
text(label).horizontal_alignment(alignment::Horizontal::Center),
)
.padding(10)
- .width(Length::Units(80))
+ .width(80)
};
let toggle_button = {