Give some more space for ratings.
authorCarl Hetherington <cth@carlh.net>
Sun, 28 Aug 2022 20:53:03 +0000 (22:53 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 28 Aug 2022 20:56:42 +0000 (22:56 +0200)
src/wx/metadata_dialog.cc

index f4d3340967fd956d89757d7ed563f3b2f9f80b2e..0028b0cbb91173bf3ebfd2e92816dc0bf34efb09 100644 (file)
@@ -188,8 +188,8 @@ MetadataDialog::setup_standard (wxPanel* panel, wxSizer* sizer)
        }
 
        vector<EditableListColumn> columns;
-       columns.push_back (EditableListColumn("Agency", 200, true));
-       columns.push_back (EditableListColumn("Label", 50, true));
+       columns.push_back(EditableListColumn("Agency", 200, true));
+       columns.push_back(EditableListColumn("Label", 400, true));
        _ratings = new EditableList<dcp::Rating, RatingDialog> (
                panel,
                columns,
@@ -204,6 +204,7 @@ MetadataDialog::setup_standard (wxPanel* panel, wxSizer* sizer)
                true,
                EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE
                );
+       _ratings->SetMinSize(wxSize(600, -1));
 }