Skip to content

Commit

Permalink
Add rounded corners to sale confirmation popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Jan 31, 2025
1 parent 38d53e6 commit e2c3245
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ui.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use crate::running::{RunningClubFridge, Sale};
use crate::starting::StartingClubFridge;
use crate::state::{ClubFridge, Message, State};
use iced::border::rounded;
use iced::widget::text::Wrapping;
use iced::widget::{button, column, container, row, scrollable, stack, text, Row};
use iced::Length::Fixed;
Expand Down Expand Up @@ -149,7 +150,9 @@ impl RunningClubFridge {
.size(36)
.color(color!(0x000000)),
)
.style(|_theme: &Theme| container::background(color!(0xffffff)))
.style(|_theme: &Theme| {
container::background(color!(0xffffff)).border(rounded(10.))
})
.padding([15, 30]),
)
.width(Fill)
Expand Down

0 comments on commit e2c3245

Please sign in to comment.