diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-12-16 13:08:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-18 02:07:50 +0100 |
| commit | 48d8075858dd3587ffeadb8df9f40ec0fcc3b946 (patch) | |
| tree | d9d111207b629bc7c4c5176f72e9cdd7ea037c79 /src | |
| parent | 71f51fa69b0e2f3afcdfbc2c06f251afe92a1f19 (diff) | |
Stop defaulting EditableList to be 100 pixels high.
This improves the layout of the verifier DCP list, and hopefully doesn't
break anything else.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/editable_list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/editable_list.h b/src/wx/editable_list.h index 6ae1421d4..6b8c7110d 100644 --- a/src/wx/editable_list.h +++ b/src/wx/editable_list.h @@ -115,12 +115,12 @@ public: * window, so put a border in to help. */ auto border = new wxPanel (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL | wxBORDER_THEME); - _list = new wxListCtrl (border, wxID_ANY, wxDefaultPosition, wxSize(total_width, 100), style); + _list = new wxListCtrl(border, wxID_ANY, wxDefaultPosition, wxSize(total_width, -1), style); auto border_sizer = new wxBoxSizer (wxHORIZONTAL); border_sizer->Add (_list, 1, wxALL | wxEXPAND, 2); border->SetSizer (border_sizer); #else - _list = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxSize(total_width, 100), style); + _list = new wxListCtrl(this, wxID_ANY, wxDefaultPosition, wxSize(total_width, -1), style); #endif int j = 0; |
