diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-25 00:43:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-25 00:43:30 +0100 |
| commit | 7e25a483ecd14ae5de2e60b7e67a5e0aa4298fc2 (patch) | |
| tree | dbb4c414d0c4c4460a6b6d5416025e22f924a250 | |
| parent | d36d3fa3b6e59e3f6ae5f84fa9bc8fb151e11bbe (diff) | |
Remove some more macOS spacing hacks that now seem to make things worse.
| -rw-r--r-- | src/wx/kdm_timing_panel.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/wx/kdm_timing_panel.cc b/src/wx/kdm_timing_panel.cc index 7b4a12046..03267102f 100644 --- a/src/wx/kdm_timing_panel.cc +++ b/src/wx/kdm_timing_panel.cc @@ -57,12 +57,7 @@ KDMTimingPanel::KDMTimingPanel (wxWindow* parent) wxDateTime from; from.SetToCurrent (); _from_date = new wxDatePickerCtrl (this, wxID_ANY, from, wxDefaultPosition, size); -#ifdef DCPOMATIC_OSX - /* Hack to tweak alignment, which I can't get right by "proper" means for some reason */ - table->Add (_from_date, 0, wxALIGN_CENTER_VERTICAL | wxBOTTOM, 4); -#else table->Add (_from_date, 0, wxALIGN_CENTER_VERTICAL); -#endif #ifdef __WXGTK3__ _from_time = new TimePickerText (this, from); @@ -92,12 +87,7 @@ KDMTimingPanel::KDMTimingPanel (wxWindow* parent) } _until_date = new wxDatePickerCtrl (this, wxID_ANY, to, wxDefaultPosition, size); -#ifdef DCPOMATIC_OSX - /* Hack to tweak alignment, which I can't get right by "proper" means for some reason */ - table->Add (_until_date, 0, wxALIGN_CENTER_VERTICAL | wxBOTTOM, 4); -#else table->Add (_until_date, 0, wxALIGN_CENTER_VERTICAL); -#endif #ifdef __WXGTK3__ _until_time = new TimePickerText (this, to); |
