From 66bd5f97b6261469429954dd9ba7d3ad8b5c97fe Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Tue, 23 Sep 2025 15:59:31 +0200 Subject: chore: necessary updates for iced-rs/iced@611f89f --- src/dialog.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/dialog.rs b/src/dialog.rs index 840800f..73d7282 100644 --- a/src/dialog.rs +++ b/src/dialog.rs @@ -1,9 +1,10 @@ //! Dialogs can be used to provide users with //! important information and make them act on it. use iced_widget::{ - Container, Row, Theme, column, container, mouse_area, opaque, stack, text, + Container, Row, Theme, column, container, mouse_area, opaque, + space::vertical, + stack, text, text::{Fragment, IntoFragment}, - vertical_space, }; use crate::core::{self, Color, Element, Length, Padding, Pixels, alignment}; @@ -371,7 +372,7 @@ where text } }), - has_title.then_some(vertical_space().height(12)), + has_title.then_some(vertical().height(12)), self.content ]) .padding(self.padding_inner); @@ -410,7 +411,7 @@ where let content = Container::new(column![ contents, - has_buttons.then_some(vertical_space()), + has_buttons.then_some(vertical()), buttons, ]) .width(self.width) -- cgit v1.2.3