1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

Minesweeper: Fix wrong adjacency numbers on right and bottom edges.

This commit is contained in:
Andreas Kling 2019-04-13 14:14:38 +02:00
parent 0dbd7b0409
commit 3f37665492
2 changed files with 5 additions and 7 deletions

View file

@ -22,8 +22,6 @@ int main(int argc, char** argv)
container->set_preferred_size({ 0, 36 });
container->set_layout(make<GBoxLayout>(Orientation::Horizontal));
auto* face_button = new GButton(container);
face_button->set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed);
face_button->set_preferred_size({ 32, 32 });
face_button->set_icon(GraphicsBitmap::load_from_file("/res/icons/minesweeper/face-default.png"));
auto* field = new Field(widget);