Minor changes in ColorSliders

This commit is contained in:
David Capello 2016-09-09 20:23:22 -03:00
parent 954b45dd23
commit b1661e910d
2 changed files with 3 additions and 3 deletions

View File

@ -164,7 +164,7 @@ void ColorSliders::addSlider(Channel channel, const char* labelText, int min, in
entry->setMaxSize(sz);
m_grid.addChildInCell(label, 1, 1, LEFT | MIDDLE);
m_grid.addChildInCell(box, 1, 1, HORIZONTAL | VERTICAL | EXPANSIVE);
m_grid.addChildInCell(box, 1, 1, HORIZONTAL | VERTICAL);
m_grid.addChildInCell(entry, 1, 1, LEFT | MIDDLE);
}

View File

@ -1,5 +1,5 @@
// Aseprite
// Copyright (C) 2001-2015 David Capello
// Copyright (C) 2001-2016 David Capello
//
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
@ -45,7 +45,7 @@ namespace app {
base::Signal1<void, ColorSlidersChangeEvent&> ColorChange;
protected:
void onSizeHint(ui::SizeHintEvent& ev);
void onSizeHint(ui::SizeHintEvent& ev) override;
// For derived classes
void addSlider(Channel channel, const char* labelText, int min, int max);