From 5344816e6421095c44e80ed438d511d8a9fcf0b2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 27 Jul 2012 14:35:19 +0100 Subject: UI tweaks. --- src/tools/dvdomatic.cc | 2 +- src/wx/config_dialog.cc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc index 1394ccff2..ea90e9e9e 100644 --- a/src/tools/dvdomatic.cc +++ b/src/tools/dvdomatic.cc @@ -268,7 +268,7 @@ public: void file_open (wxCommandEvent &) { - wxDirDialog* c = new wxDirDialog (this, wxT ("Open Film"), wxStandardPaths::Get().GetDocumentsDir(), wxDEFAULT_DIALOG_STYLE | wxDD_DIR_MUST_EXIST); + wxDirDialog* c = new wxDirDialog (this, wxT ("Select film to open"), wxStandardPaths::Get().GetDocumentsDir(), wxDEFAULT_DIALOG_STYLE | wxDD_DIR_MUST_EXIST); int const r = c->ShowModal (); c->Destroy (); diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc index 547296666..d48ddcfa4 100644 --- a/src/wx/config_dialog.cc +++ b/src/wx/config_dialog.cc @@ -103,17 +103,17 @@ ConfigDialog::ConfigDialog (wxWindow* parent) } add_label_to_sizer (table, this, "Encoding Servers"); - _servers = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_SINGLE_SEL); + _servers = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxSize (220, 100), wxLC_REPORT | wxLC_SINGLE_SEL); wxListItem ip; ip.SetId (0); ip.SetText (_("IP address")); - ip.SetWidth (100); + ip.SetWidth (120); _servers->InsertColumn (0, ip); ip.SetId (1); ip.SetText (_("Threads")); - ip.SetWidth (90); + ip.SetWidth (80); _servers->InsertColumn (1, ip); - table->Add (_servers, 1, wxEXPAND); + table->Add (_servers, 1, wxEXPAND | wxALL); { wxSizer* s = new wxBoxSizer (wxVERTICAL); -- cgit v1.2.3