Improve color button padding

This commit is contained in:
Jon Evans 2020-03-06 08:14:12 -05:00
parent 775d15d8cf
commit 34ceee14ed
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ bool PANEL_EESCHEMA_COLOR_SETTINGS::saveCurrentTheme()
void PANEL_EESCHEMA_COLOR_SETTINGS::createButtons() void PANEL_EESCHEMA_COLOR_SETTINGS::createButtons()
{ {
const int flags = wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT; const int flags = wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT | wxRIGHT;
wxSize border = ConvertDialogToPixels( BUTTON_BORDER ); wxSize border = ConvertDialogToPixels( BUTTON_BORDER );
std::vector<SCH_LAYER_ID> layers; std::vector<SCH_LAYER_ID> layers;