Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump iced_aw from d2c0441 to 1c3b933 #1991

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 20 additions & 17 deletions flowr/src/bin/flowrgui/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,31 +236,34 @@
}

fn view(&self) -> Element<'_, Message> {
let mut main = Column::new().spacing(10);

main = main
let main = Column::new().spacing(10)

Check warning on line 239 in flowr/src/bin/flowrgui/main.rs

View check run for this annotation

Codecov / codecov/patch

flowr/src/bin/flowrgui/main.rs#L239

Added line #L239 was not covered by tests
.push(self.command_row())
.push(self.tab_set.view())
.push(self.status_row())
.padding(10);

modal(self.show_modal, main,
Card::new(
let overlay = if self.show_modal {
Some(Card::new(

Check warning on line 246 in flowr/src/bin/flowrgui/main.rs

View check run for this annotation

Codecov / codecov/patch

flowr/src/bin/flowrgui/main.rs#L245-L246

Added lines #L245 - L246 were not covered by tests
Text::new(self.modal_content.clone().0),
Text::new(self.modal_content.clone().1),
)
.foot(
Row::new()
.spacing(10)
.padding(5)
.width(Length::Fill)
.push(
Button::new(Text::new("OK")
.horizontal_alignment(Horizontal::Center))
.width(Length::Fill)
.on_press(Message::CloseModal)),
)
.max_width(300.0))
.foot(
Row::new()
.spacing(10)
.padding(5)
.width(Length::Fill)
.push(
Button::new(Text::new("OK")
.horizontal_alignment(Horizontal::Center))
.width(Length::Fill)
.on_press(Message::CloseModal)),
)
.max_width(300.0))

Check warning on line 261 in flowr/src/bin/flowrgui/main.rs

View check run for this annotation

Codecov / codecov/patch

flowr/src/bin/flowrgui/main.rs#L250-L261

Added lines #L250 - L261 were not covered by tests
} else {
None

Check warning on line 263 in flowr/src/bin/flowrgui/main.rs

View check run for this annotation

Codecov / codecov/patch

flowr/src/bin/flowrgui/main.rs#L263

Added line #L263 was not covered by tests
};

modal(main, overlay)

Check warning on line 266 in flowr/src/bin/flowrgui/main.rs

View check run for this annotation

Codecov / codecov/patch

flowr/src/bin/flowrgui/main.rs#L266

Added line #L266 was not covered by tests
.backdrop(Message::CloseModal)
.on_esc(Message::CloseModal)
.into()
Expand Down
Loading