summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-10-30 22:06:39 +0000
committerCarl Hetherington <cth@carlh.net>2016-11-08 11:23:24 +0000
commitd9cb8e5df7604a78860155ae6434896ada5023e4 (patch)
treef02e036c690851e361e375bdd6e1144407eebbf4 /src
parent2093ef3c9eeb4e30c7d636ede8c77e9ce5d74a52 (diff)
Fix layout problems in the job view with long job details (#889).
Diffstat (limited to 'src')
-rw-r--r--src/wx/job_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/job_view.cc b/src/wx/job_view.cc
index 798e353a9..073415122 100644
--- a/src/wx/job_view.cc
+++ b/src/wx/job_view.cc
@@ -47,7 +47,7 @@ JobView::setup ()
/* This seems to be required to allow the gauge to shrink under OS X */
_gauge->SetMinSize (wxSize (0, -1));
_gauge_message->Add (_gauge, 0, wxEXPAND | wxLEFT | wxRIGHT);
- _message = new wxStaticText (_container, wxID_ANY, wxT (" \n "));
+ _message = new wxStaticText (_container, wxID_ANY, wxT (" \n "), wxDefaultPosition, wxDefaultSize, wxST_ELLIPSIZE_MIDDLE);
_gauge_message->Add (_message, 1, wxEXPAND | wxALIGN_CENTER_VERTICAL | wxALL, 6);
_table->Insert (n, _gauge_message, 1, wxEXPAND | wxLEFT | wxRIGHT);
++n;