Trim some padding from the KDM creator.
authorCarl Hetherington <cth@carlh.net>
Sat, 28 Dec 2024 23:53:59 +0000 (00:53 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 1 Jan 2025 00:54:38 +0000 (01:54 +0100)
src/tools/dcpomatic_kdm.cc

index 8ac4b997a6371ce0726a7e0b3813776b3e0712df..1d22e0818279baafc66dc43b50656b8abcb1f776 100644 (file)
@@ -168,11 +168,11 @@ public:
                h->SetFont (subheading_font);
                right->Add (h);
                _timing = new KDMTimingPanel (overall_panel);
-               right->Add (_timing, 0, wxALL, DCPOMATIC_SIZER_Y_GAP);
+               right->Add (_timing, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP);
 
                h = new StaticText (overall_panel, _("DKDM"));
                h->SetFont (subheading_font);
-               right->Add(h, 0, wxTOP, DCPOMATIC_SUBHEADING_TOP_PAD);
+               right->Add(h, 0);
 
                _dkdm_search = new wxSearchCtrl(overall_panel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(200, search_ctrl_height()));
 #ifndef __WXGTK3__
@@ -229,7 +229,7 @@ public:
                right->Add (_output, 0, wxALL, DCPOMATIC_SIZER_Y_GAP);
 
                _create = new Button (overall_panel, _("Create KDMs"));
-               right->Add (_create, 0, wxALL, DCPOMATIC_SIZER_GAP);
+               right->Add(_create, 0, wxTOP, DCPOMATIC_SIZER_GAP);
 
                main_sizer->Add (horizontal, 1, wxALL | wxEXPAND, DCPOMATIC_DIALOG_BORDER);
                overall_panel->SetSizer (main_sizer);