From 5fae6e59ffbc5913761df638dc7f0c35b7f43bc9 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 20 Sep 2021 14:33:02 +0700 Subject: Introduce and use `CrossAlign` enum for `Column` and `Row` --- examples/integration_opengl/src/controls.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/integration_opengl') 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) -- cgit