projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9fe8b35
)
Limit the size of the recipient file name in the screen dialog.
author
Carl Hetherington
<cth@carlh.net>
Mon, 16 Jan 2023 19:53:11 +0000
(20:53 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 16 Jan 2023 19:53:11 +0000
(20:53 +0100)
src/wx/screen_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/screen_dialog.cc
b/src/wx/screen_dialog.cc
index 3fa17353d682948a0a6bef2edf2508725540e87a..6b13675cd802f28ab3d61040874e2f3d950ced85 100644
(file)
--- 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));
++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(""));
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;
_sizer->Add (_recipient_file, wxGBPosition(r, 1), wxDefaultSpan, wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_Y_GAP);
++r;