summaryrefslogtreecommitdiffstats
path: root/examples/integration_wgpu/src/controls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integration_wgpu/src/controls.rs')
-rw-r--r--examples/integration_wgpu/src/controls.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/integration_wgpu/src/controls.rs b/examples/integration_wgpu/src/controls.rs
index 824f9f53..414eb9ce 100644
--- a/examples/integration_wgpu/src/controls.rs
+++ b/examples/integration_wgpu/src/controls.rs
@@ -1,6 +1,6 @@
use iced_wgpu::Renderer;
use iced_winit::{
- slider, Align, Color, Column, Command, Element, Length, Program, Row,
+ slider, Alignment, Color, Column, Command, 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(Alignment::End)
.push(
Column::new()
.width(Length::Fill)
- .align_items(Align::End)
+ .align_items(Alignment::End)
.push(
Column::new()
.padding(10)