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/tall_kdm_output_panel.cc | |
| parent | aa8bb7b6f6fe2eed323e6f4f978a76a9a067c545 (diff) | |
Coalesce three radios into a dropdown.
Diffstat (limited to 'src/wx/tall_kdm_output_panel.cc')
| -rw-r--r-- | src/wx/tall_kdm_output_panel.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/wx/tall_kdm_output_panel.cc b/src/wx/tall_kdm_output_panel.cc index d34c5460d..5d4c5c661 100644 --- a/src/wx/tall_kdm_output_panel.cc +++ b/src/wx/tall_kdm_output_panel.cc @@ -22,6 +22,7 @@ #include "check_box.h" #include "confirm_kdm_email_dialog.h" #include "dcpomatic_button.h" +#include "dcpomatic_choice.h" #include "extra_kdm_email_dialog.h" #include "kdm_advanced_dialog.h" #include "kdm_choice.h" @@ -93,15 +94,11 @@ TallKDMOutputPanel::TallKDMOutputPanel(wxWindow* parent) table->Add (align, 0, wxTOP | wxRIGHT | wxALIGN_TOP, DCPOMATIC_SIZER_GAP); #endif table->Add (_filename_format->panel(), 1, wxEXPAND); - 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, this, _("Collection"), true, 0, wxALIGN_CENTRE_VERTICAL | wxLEFT | wxRIGHT); + table->Add(_write_collect, 1, wxEXPAND); table->Add (_email, 1, wxEXPAND); table->Add (_add_email_addresses); |
