diff options
author | 2021-09-20 14:33:02 +0700 | |
---|---|---|
committer | 2021-09-20 15:12:43 +0700 | |
commit | 5fae6e59ffbc5913761df638dc7f0c35b7f43bc9 (patch) | |
tree | 02cbacf17780d1df9e37b38a33c0f882ab9312d7 /examples/integration_opengl | |
parent | 95e4791a1e4611f0db703ac2911f56b391469b5f (diff) | |
download | iced-5fae6e59ffbc5913761df638dc7f0c35b7f43bc9.tar.gz iced-5fae6e59ffbc5913761df638dc7f0c35b7f43bc9.tar.bz2 iced-5fae6e59ffbc5913761df638dc7f0c35b7f43bc9.zip |
Introduce and use `CrossAlign` enum for `Column` and `Row`
Diffstat (limited to 'examples/integration_opengl')
-rw-r--r-- | examples/integration_opengl/src/controls.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/integration_opengl/src/controls.rs b/examples/integration_opengl/src/controls.rs index ddc6827c..ebf64d43 100644 --- a/examples/integration_opengl/src/controls.rs +++ b/examples/integration_opengl/src/controls.rs @@ -1,6 +1,6 @@ use iced_glow::Renderer; use iced_glutin::{ - slider, Align, Color, Column, Command, Element, Length, Program, Row, + slider, Color, Column, Command, CrossAlign, Element, Length, Program, Row, Slider, Text, }; @@ -79,11 +79,11 @@ impl Program for Controls { Row::new() .width(Length::Fill) .height(Length::Fill) - .align_items(Align::End) + .align_items(CrossAlign::End) .push( Column::new() .width(Length::Fill) - .align_items(Align::End) + .align_items(CrossAlign::End) .push( Column::new() .padding(10) |