diff options
Diffstat (limited to 'src/theme_builder')
-rw-r--r-- | src/theme_builder/components/properties/ColorPropertyEditor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/theme_builder/components/properties/ColorPropertyEditor.cpp b/src/theme_builder/components/properties/ColorPropertyEditor.cpp index 89b145a7..e9e486ac 100644 --- a/src/theme_builder/components/properties/ColorPropertyEditor.cpp +++ b/src/theme_builder/components/properties/ColorPropertyEditor.cpp @@ -19,7 +19,9 @@ ColorPropertyEditor::ColorPropertyEditor() { ->CreateSolidColorBrush(color_); color_cube_.SetForegroundBrush(color_cube_brush_); + color_text_.SetText(color_.ToString()); + color_text_.SetMargin(ui::Thickness(10, 0, 0, 0)); color_text_.TextChangeEvent()->AddHandler([this](std::nullptr_t) { auto text = color_text_.GetTextView(); |