forked from mia/Aegisub
Remove pointless sizer in the colorpicker dialog
This commit is contained in:
parent
fc7bf8f1b0
commit
5b7b5811f1
1 changed files with 1 additions and 4 deletions
|
@ -637,15 +637,12 @@ DialogColorPicker::DialogColorPicker(wxWindow *parent, agi::Color initial_color,
|
|||
hsx_sizer->AddSpacer(5);
|
||||
hsx_sizer->Add(hsv_box);
|
||||
|
||||
wxSizer *recent_sizer = new wxBoxSizer(wxVERTICAL);
|
||||
recent_sizer->Add(recent_box, 1, wxEXPAND);
|
||||
|
||||
wxSizer *picker_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||
picker_sizer->AddStretchSpacer();
|
||||
picker_sizer->Add(screen_dropper_icon, 0, wxALIGN_CENTER|wxRIGHT, 5);
|
||||
picker_sizer->Add(screen_dropper, 0, wxALIGN_CENTER);
|
||||
picker_sizer->AddStretchSpacer();
|
||||
picker_sizer->Add(recent_sizer, 0, wxALIGN_CENTER);
|
||||
picker_sizer->Add(recent_box, 0, wxALIGN_CENTER);
|
||||
picker_sizer->AddStretchSpacer();
|
||||
|
||||
wxStdDialogButtonSizer *button_sizer = CreateStdDialogButtonSizer(wxOK | wxCANCEL | wxHELP);
|
||||
|
|
Loading…
Reference in a new issue