mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 18:21:44 +00:00
Minor changes in ColorSliders
This commit is contained in:
parent
954b45dd23
commit
b1661e910d
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user