Skip to content

Commit

Permalink
Refactor and aesthetics
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykorir committed Jul 5, 2024
1 parent b0ee854 commit ccfa91b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion minesweeper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ MainFrame::MainFrame(const wxString &title)
flagSizer->Add(flagText, 0, wxCENTER);

dashSizer->Add(clockSizer, 0, wxALIGN_CENTER | wxALL);
dashSizer->AddSpacer(24);
dashSizer->Add(flagSizer, 0, wxALIGN_CENTER | wxALL);
srand((unsigned)time(NULL));

// status bar
wxStatusBar * m_status = new wxStatusBar(this, wxID_ANY, wxST_SIZEGRIP);
int widths[] = { 60, 60, -1 };
int widths[] = { 200, 60, -1 };
m_status->SetFieldsCount(WXSIZEOF(widths), widths);
m_status->SetStatusText(_("Ready"),0);

Expand Down

0 comments on commit ccfa91b

Please sign in to comment.