projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02fc490
)
Ellipsize end of DirPickerCtrl labels.
author
Carl Hetherington
<cth@carlh.net>
Tue, 9 Apr 2024 01:15:04 +0000
(
03:15
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 15 Apr 2024 22:39:05 +0000
(
00:39
+0200)
src/wx/dir_picker_ctrl.cc
patch
|
blob
|
history
diff --git
a/src/wx/dir_picker_ctrl.cc
b/src/wx/dir_picker_ctrl.cc
index 4c19da42af60662672c31d68536227e53c5ef74b..3371c734bdfc194274ecd8a8c3342b02a3ddc984 100644
(file)
--- a/
src/wx/dir_picker_ctrl.cc
+++ b/
src/wx/dir_picker_ctrl.cc
@@
-41,7
+41,7
@@
DirPickerCtrl::DirPickerCtrl (wxWindow* parent)
{
_sizer = new wxBoxSizer (wxHORIZONTAL);
- _folder = new StaticText
(this, wxT("")
);
+ _folder = new StaticText
(this, wxT(""), wxDefaultPosition, wxDefaultSize, wxST_ELLIPSIZE_END
);
wxFont font = _folder->GetFont ();
font.SetStyle (wxFONTSTYLE_ITALIC);
_folder->SetFont (font);