summaryrefslogtreecommitdiffstats
path: root/examples/component
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/component
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/component')
-rw-r--r--examples/component/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/component/src/main.rs b/examples/component/src/main.rs
index 06b1e53a..c407bb06 100644
--- a/examples/component/src/main.rs
+++ b/examples/component/src/main.rs
@@ -127,7 +127,7 @@ mod numeric_input {
.horizontal_alignment(alignment::Horizontal::Center)
.vertical_alignment(alignment::Vertical::Center),
)
- .width(Length::Units(50))
+ .width(50)
.on_press(on_press)
};