Skip to content

Commit

Permalink
use iced::Alignment instead of iced_core::Alignment and bring back ch…
Browse files Browse the repository at this point in the history
…oose_theme for a condition
  • Loading branch information
krshrimali committed Feb 11, 2024
1 parent 2c9001b commit bfa8926
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/render_image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ impl<'a> Step {
column![
container(row![choose_theme_content
.width(Length::Fill)
.align_items(iced_core::Alignment::Start)]),
.align_items(iced::Alignment::Start)]),
file_choose_button
]
.into()
Expand Down Expand Up @@ -574,9 +574,9 @@ impl<'a> Step {
]
.into(),
None => column![
// container(row![choose_theme_content
// .width(Length::Fill)
// .align_items(iced::Alignment::Start)]),
container(row![choose_theme_content
.width(Length::Fill)
.align_items(iced::Alignment::Start)]),
container(row![
horizontal_space(Length::Fill),
text(error_msg.unwrap_or_default()),
Expand Down

0 comments on commit bfa8926

Please sign in to comment.