UI tweaks.
authorCarl Hetherington <cth@carlh.net>
Fri, 27 Jul 2012 13:35:19 +0000 (14:35 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 27 Jul 2012 13:35:19 +0000 (14:35 +0100)
src/tools/dvdomatic.cc
src/wx/config_dialog.cc

index 1394ccff2626737ca8d87ea31f708071a19b36ad..ea90e9e9e27d90b4cb5d17b3573c745f4ac1af16 100644 (file)
@@ -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 ();
                
index 54729666615f823967fef23d838d3a58ec24986d..d48ddcfa462940455b0289f95129be333107f4b2 100644 (file)
@@ -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);