improv: add window border

This commit is contained in:
Vukašin Vojinović 2024-11-03 19:16:37 +01:00 committed by Michael Murphy
parent 36b3cfa13a
commit 127ce17b85
26 changed files with 130 additions and 114 deletions

View file

@ -558,7 +558,7 @@ where
button::custom(
text(reset_to_default)
.width(self.width)
.align_x(iced_core::alignment::Horizontal::Center)
.align_x(iced_core::Alignment::Center)
)
.width(self.width)
.on_press(on_update(ColorPickerUpdate::Reset))
@ -574,14 +574,14 @@ where
button::custom(
text(cancel)
.width(self.width)
.align_x(iced_core::alignment::Horizontal::Center)
.align_x(iced_core::Alignment::Center)
)
.width(self.width)
.on_press(on_update(ColorPickerUpdate::Cancel)),
button::custom(
text(save)
.width(self.width)
.align_x(iced_core::alignment::Horizontal::Center)
.align_x(iced_core::Alignment::Center)
)
.width(self.width)
.on_press(on_update(ColorPickerUpdate::AppliedColor))