From d9cb8e5df7604a78860155ae6434896ada5023e4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 30 Oct 2016 22:06:39 +0000 Subject: [PATCH] Fix layout problems in the job view with long job details (#889). --- src/wx/job_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2