Changed values passed to SetClientSize() in CreateWidgets() so that buttons are not clipped by the dialog margin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -254,7 +254,7 @@ void wxGenericColourDialog::CreateWidgets(void)
|
|||||||
blueSlider = new wxSlider(this, wxID_BLUE_SLIDER, 0, 0, 255,
|
blueSlider = new wxSlider(this, wxID_BLUE_SLIDER, 0, 0, 255,
|
||||||
wxPoint(sliderX + 2*sliderSpacing, 10), wxSize(-1, sliderHeight), wxVERTICAL|wxSL_LABELS);
|
wxPoint(sliderX + 2*sliderSpacing, 10), wxSize(-1, sliderHeight), wxVERTICAL|wxSL_LABELS);
|
||||||
|
|
||||||
SetClientSize(sliderX + 3*sliderSpacing, buttonY + 40);
|
SetClientSize(sliderX + 3*sliderSpacing, buttonY + bh + 20);
|
||||||
okButton->SetDefault();
|
okButton->SetDefault();
|
||||||
|
|
||||||
Centre(wxBOTH);
|
Centre(wxBOTH);
|
||||||
|
Reference in New Issue
Block a user