]> git.sesse.net Git - vlc/commitdiff
* wxwidgets/updatevlc.cpp: Resize the tree control when resizing the window
authorOlivier Teulière <ipkiss@videolan.org>
Sun, 7 Aug 2005 11:46:25 +0000 (11:46 +0000)
committerOlivier Teulière <ipkiss@videolan.org>
Sun, 7 Aug 2005 11:46:25 +0000 (11:46 +0000)
modules/gui/wxwidgets/updatevlc.cpp

index 49308cd460e8282cdf8def424e2b5dd48e0f2597..167c9361f1eb6aa4b9f02f04f6977b3ecadf73b6 100644 (file)
@@ -124,7 +124,7 @@ UpdateVLC::UpdateVLC( intf_thread_t *_p_intf, wxWindow *p_parent ):
     wxBoxSizer *main_sizer = new wxBoxSizer( wxVERTICAL );
     wxBoxSizer *panel_sizer = new wxBoxSizer( wxVERTICAL );
     wxBoxSizer *subpanel_sizer = new wxBoxSizer( wxHORIZONTAL );
-    panel_sizer->Add( updates_tree, 0, wxGROW | wxALL, 5 );
+    panel_sizer->Add( updates_tree, 1, wxGROW | wxALL, 5 );
     wxButton *update_button =
         new wxButton( panel, CheckForUpdate_Event,
                       wxU(_("Check for updates now !")) );
@@ -147,7 +147,7 @@ UpdateVLC::UpdateVLC( intf_thread_t *_p_intf, wxWindow *p_parent ):
     panel_sizer->Add( subpanel_sizer, 0, wxALL , 0 );
     panel_sizer->Layout();
     panel->SetSizerAndFit( panel_sizer );
-    main_sizer->Add( panel, 0, wxALL | wxGROW, 0 );
+    main_sizer->Add( panel, 1, wxALL | wxGROW, 0 );
     main_sizer->Layout();
     SetSizerAndFit( main_sizer );