Add default size for slider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b919f007af
commit
6e7cdb7696
@ -351,7 +351,7 @@ LifeFrame::LifeFrame() : wxFrame((wxFrame *)0, -1, _("Life!"), wxPoint(50, 50))
|
||||
|
||||
// slider
|
||||
wxSlider *slider = new wxSlider(panel, ID_SLIDER, 5, 1, 10,
|
||||
wxDefaultPosition, wxSize(150,-1), wxSL_HORIZONTAL | wxSL_AUTOTICKS);
|
||||
wxDefaultPosition, wxSize(200,-1), wxSL_HORIZONTAL | wxSL_AUTOTICKS);
|
||||
|
||||
// component layout
|
||||
wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL);
|
||||
|
Loading…
Reference in New Issue
Block a user