diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-06 00:12:16 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-06 01:11:28 +0200 |
| commit | 3ee5431c7e270d7bf706fcf7530a6eb2c78480c3 (patch) | |
| tree | 6fa4454a82b256265c7b3a8d39a9b57e0342a325 /src/wx/kdm_timing_panel.cc | |
| parent | 4f652387cbeeda9b7b8ace71e047c450acf5c871 (diff) | |
Fix assorted GTK3-related alignment problems.
Diffstat (limited to 'src/wx/kdm_timing_panel.cc')
| -rw-r--r-- | src/wx/kdm_timing_panel.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/kdm_timing_panel.cc b/src/wx/kdm_timing_panel.cc index 2734a9894..ae31e36c3 100644 --- a/src/wx/kdm_timing_panel.cc +++ b/src/wx/kdm_timing_panel.cc @@ -47,7 +47,7 @@ KDMTimingPanel::KDMTimingPanel (wxWindow* parent) #endif wxSizer* table = new wxBoxSizer (wxHORIZONTAL); - add_label_to_sizer (table, this, _("From"), true); + add_label_to_sizer (table, this, _("From"), true, 0, wxLEFT | wxRIGHT | wxALIGN_CENTRE_VERTICAL); wxDateTime from; from.SetToCurrent (); _from_date = new wxDatePickerCtrl (this, wxID_ANY, from, wxDefaultPosition, size); @@ -66,7 +66,7 @@ KDMTimingPanel::KDMTimingPanel (wxWindow* parent) table->Add (_from_time, 0, wxALIGN_CENTER_VERTICAL); #endif - add_label_to_sizer (table, this, _("until"), true); + add_label_to_sizer (table, this, _("until"), true, 0, wxLEFT | wxRIGHT | wxALIGN_CENTRE_VERTICAL); wxDateTime to = from; /* 1 week from now */ to.Add (wxDateSpan (0, 0, 1, 0)); |
