diff options
author | 2023-02-17 16:53:02 +0100 | |
---|---|---|
committer | 2023-02-17 16:53:02 +0100 | |
commit | 7dc1fb488ddbd12519571b51d75ae0c28875911d (patch) | |
tree | 92590830b23bb714ec8024766fef7273b041bbf3 /examples/integration_opengl | |
parent | f75e0202575ca6e3ebf7d817eecbf51e198506fd (diff) | |
parent | fd1408693322f5bfdaee7f27bd098808658d7310 (diff) | |
download | iced-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/integration_opengl')
-rw-r--r-- | examples/integration_opengl/src/controls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/integration_opengl/src/controls.rs b/examples/integration_opengl/src/controls.rs index 22c41066..c3648f44 100644 --- a/examples/integration_opengl/src/controls.rs +++ b/examples/integration_opengl/src/controls.rs @@ -42,7 +42,7 @@ impl Program for Controls { let background_color = self.background_color; let sliders = Row::new() - .width(Length::Units(500)) + .width(500) .spacing(20) .push( Slider::new(0.0..=1.0, background_color.r, move |r| { |