|
@@ -35,6 +35,7 @@ namespace GUI {
|
|
ColorInput::ColorInput()
|
|
ColorInput::ColorInput()
|
|
: TextEditor(TextEditor::SingleLine)
|
|
: TextEditor(TextEditor::SingleLine)
|
|
{
|
|
{
|
|
|
|
+ set_min_width(32);
|
|
set_fixed_height(22);
|
|
set_fixed_height(22);
|
|
TextEditor::on_change = [this] {
|
|
TextEditor::on_change = [this] {
|
|
auto parsed_color = Color::from_string(text());
|
|
auto parsed_color = Color::from_string(text());
|