Try to improve layout of the 'write to' radios in the KDM dialog (especially on Windows).
authorCarl Hetherington <cth@carlh.net>
Tue, 4 Aug 2020 22:00:48 +0000 (00:00 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 4 Aug 2020 22:00:48 +0000 (00:00 +0200)
src/wx/kdm_output_panel.cc

index b138e7d31574b828f580a06548f44c12ddb03482..db5bb1354f8a9ee3d79cd64825461c9e2c0ace80 100644 (file)
@@ -117,11 +117,11 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent, bool interop)
 
        wxSizer* write_options = new wxBoxSizer(wxVERTICAL);
        _write_flat = new wxRadioButton (this, wxID_ANY, _("Write all KDMs to the same folder"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP);
-       write_options->Add (_write_flat);
+       write_options->Add (_write_flat, wxTOP | wxBOTTOM | DCPOMATIC_BUTTON_STACK_GAP);
        _write_folder = new wxRadioButton (this, wxID_ANY, _("Write a folder for each cinema's KDMs"));
-       write_options->Add (_write_folder);
+       write_options->Add (_write_folder, wxTOP | wxBOTTOM | DCPOMATIC_BUTTON_STACK_GAP);
        _write_zip = new wxRadioButton (this, wxID_ANY, _("Write a ZIP file for each cinema's KDMs"));
-       write_options->Add (_write_zip);
+       write_options->Add (_write_zip, wxTOP | wxBOTTOM | DCPOMATIC_BUTTON_STACK_GAP);
        table->AddSpacer (0);
        table->Add (write_options);