diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-13 14:14:38 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-13 14:14:38 +0200 |
commit | 3f37665492e8ebf5bde53176daf266f18baac18e (patch) | |
tree | e42e652aca6e4dba0269d9c86f5a8ca0c9e40c1f /Games/Minesweeper/main.cpp | |
parent | 0dbd7b04096273189483dfc1fb28f0dc0ff3cc5c (diff) | |
download | serenity-3f37665492e8ebf5bde53176daf266f18baac18e.zip |
Minesweeper: Fix wrong adjacency numbers on right and bottom edges.
Diffstat (limited to 'Games/Minesweeper/main.cpp')
-rw-r--r-- | Games/Minesweeper/main.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Games/Minesweeper/main.cpp b/Games/Minesweeper/main.cpp index 3b9dcb790a..4e5c89b7a1 100644 --- a/Games/Minesweeper/main.cpp +++ b/Games/Minesweeper/main.cpp @@ -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); |