Skip to content

Commit ac1229f

Browse files
update dimensions
1 parent a007f8e commit ac1229f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

minesweeper-iced/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn launch() -> iced::Result {
1818
})
1919
.theme(|_state| Theme::Dark)
2020
.window(window::Settings {
21-
size: (1024., 1124.).into(),
21+
size: (900., 900.).into(),
2222
#[cfg(target_os = "linux")]
2323
platform_specific: window::settings::PlatformSpecific {
2424
application_id: "minesweeper".into(),

minesweeper-iced/src/views/cell.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl CellView {
7676
}
7777
};
7878

79-
container(content).width(45).height(45).into()
79+
container(content).width(35).height(35).into()
8080
}
8181
}
8282

@@ -95,5 +95,5 @@ fn cell_button<'a, Message>(content: impl Into<Element<'a, Message>>) -> Button<
9595
where
9696
Message: Clone + 'a,
9797
{
98-
button(content).width(45).height(45)
98+
button(content).width(35).height(35)
9999
}

0 commit comments

Comments
 (0)