Remove some more macOS spacing hacks that now seem to make things worse.
authorCarl Hetherington <cth@carlh.net>
Fri, 24 Jan 2025 23:43:08 +0000 (00:43 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 24 Jan 2025 23:43:30 +0000 (00:43 +0100)
src/wx/kdm_timing_panel.cc

index 7b4a1204678d5425b7eda9b4f4015f3a0d8ab75b..03267102fe61ae7f7f1a22435e3d3cf9710ce5b6 100644 (file)
@@ -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);