diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-08 20:59:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-08 20:59:32 +0100 |
| commit | 5671b643ef0e935563bf4cc89efd640d592d1f86 (patch) | |
| tree | 847668d512a4e0a0b3af13503cae0b1836b8db24 /src/wx/time_picker.cc | |
| parent | e06d1831abc6786933db935f298c8a4e8e76e599 (diff) | |
Assorted macOS layout tweaks.
Diffstat (limited to 'src/wx/time_picker.cc')
| -rw-r--r-- | src/wx/time_picker.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/time_picker.cc b/src/wx/time_picker.cc index 63d6d4f84..0d9668d7b 100644 --- a/src/wx/time_picker.cc +++ b/src/wx/time_picker.cc @@ -52,10 +52,10 @@ TimePickerSpin::TimePickerSpin (wxWindow* parent, wxDateTime time) wxBoxSizer* sizer = new wxBoxSizer (wxHORIZONTAL); _hours = new wxSpinCtrl (this, wxID_ANY, wxT(""), wxDefaultPosition, size); - sizer->Add (_hours, 1, wxEXPAND | wxLEFT, DCPOMATIC_SIZER_GAP); - sizer->Add (new StaticText (this, wxT (":")), 0, wxALIGN_CENTER_VERTICAL); + sizer->Add (_hours, 1, wxLEFT | wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_GAP); + sizer->Add (new StaticText(this, wxT(":")), 0, wxALIGN_CENTER_VERTICAL); _minutes = new wxSpinCtrl (this, wxID_ANY, wxT(""), wxDefaultPosition, size); - sizer->Add (_minutes, 1, wxEXPAND | wxRIGHT, DCPOMATIC_SIZER_GAP); + sizer->Add (_minutes, 1, wxRIGHT | wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_GAP); SetSizerAndFit (sizer); |
