diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-16 20:53:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-16 20:53:11 +0100 |
| commit | 106860252a1ac6b76bf13ab6ac968dfb01056305 (patch) | |
| tree | 72e0283d37fd7896a32bc31fe8f49d39602ddff7 /src | |
| parent | 9fe8b3599b3dc2fa554dd29d1788145f9237faa4 (diff) | |
Limit the size of the recipient file name in the screen dialog.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/screen_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index 3fa17353d..6b13675cd 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -154,8 +154,8 @@ ScreenDialog::ScreenDialog ( ++r; add_label_to_sizer (_sizer, this, _("Filename"), true, wxGBPosition(r, 0)); - _recipient_file = new wxStaticText (this, wxID_ANY, wxT("")); checked_set (_recipient_file, recipient_file.get_value_or("")); + _recipient_file = new wxStaticText(this, wxID_ANY, wxT(""), wxDefaultPosition, wxSize(600, -1), wxST_ELLIPSIZE_MIDDLE | wxST_NO_AUTORESIZE); _sizer->Add (_recipient_file, wxGBPosition(r, 1), wxDefaultSpan, wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_Y_GAP); ++r; |
