From 7e25a483ecd14ae5de2e60b7e67a5e0aa4298fc2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 25 Jan 2025 00:43:08 +0100 Subject: Remove some more macOS spacing hacks that now seem to make things worse. --- src/wx/kdm_timing_panel.cc | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/wx/kdm_timing_panel.cc') 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); -- cgit v1.2.3