diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-29 15:54:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-01 01:54:38 +0100 |
| commit | 4532fecad4bad945482fbcf2d61eef708178835c (patch) | |
| tree | 87c4157d2334e06f59e11dcde252e7a412d7d4d1 /src/wx/short_kdm_output_panel.cc | |
| parent | aa8bb7b6f6fe2eed323e6f4f978a76a9a067c545 (diff) | |
Coalesce three radios into a dropdown.
Diffstat (limited to 'src/wx/short_kdm_output_panel.cc')
| -rw-r--r-- | src/wx/short_kdm_output_panel.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/wx/short_kdm_output_panel.cc b/src/wx/short_kdm_output_panel.cc index 5a0fb2504..7e0692319 100644 --- a/src/wx/short_kdm_output_panel.cc +++ b/src/wx/short_kdm_output_panel.cc @@ -20,6 +20,7 @@ #include "check_box.h" +#include "dcpomatic_choice.h" #include "kdm_choice.h" #include "name_format_editor.h" #include "short_kdm_output_panel.h" @@ -68,15 +69,11 @@ ShortKDMOutputPanel::fill_destination_panel(wxPanel* panel) auto table = new wxFlexGridSizer(2, DCPOMATIC_SIZER_X_GAP, 0); table->AddGrowableCol(1); - table->Add(_write_to, 1, wxEXPAND); + table->Add(_write_to, 1, wxEXPAND | wxLEFT); table->Add(_folder, 1, wxEXPAND); - auto write_options = new wxBoxSizer(wxVERTICAL); - write_options->Add(_write_flat, 1, wxTOP | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); - write_options->Add(_write_folder, 1, wxTOP | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); - write_options->Add(_write_zip, 1, wxTOP | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); - table->AddSpacer(0); - table->Add(write_options); + add_label_to_sizer(table, panel, _("Collection"), true, 0, wxALIGN_CENTRE_VERTICAL | wxLEFT | wxRIGHT); + table->Add(_write_collect, 1, wxEXPAND); table->Add(_email, 1, wxEXPAND); table->Add(_add_email_addresses); |
