aboutsummaryrefslogtreecommitdiff
path: root/src/ui/ui_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_manager.cpp')
-rw-r--r--src/ui/ui_manager.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ui/ui_manager.cpp b/src/ui/ui_manager.cpp
index 5c7e4577..905d29ad 100644
--- a/src/ui/ui_manager.cpp
+++ b/src/ui/ui_manager.cpp
@@ -59,6 +59,22 @@ UiManager::UiManager() {
theme_resource_.button_style.press.border_radius =
theme_resource_.button_style.press_cancel.border_radius =
CornerRadius({5, 5});
+
+ theme_resource_.text_box_border_style.normal.border_brush =
+ CreateSolidColorBrush(factory, Color::FromHex(0xced4da));
+ theme_resource_.text_box_border_style.normal.border_radius = CornerRadius(5);
+ theme_resource_.text_box_border_style.normal.border_thickness = Thickness(1);
+
+ theme_resource_.text_box_border_style.hover =
+ theme_resource_.text_box_border_style.normal;
+
+ theme_resource_.text_box_border_style.normal.border_brush =
+ CreateSolidColorBrush(factory, Color::FromHex(0x495057));
+ theme_resource_.text_box_border_style.normal.border_radius = CornerRadius(5);
+ theme_resource_.text_box_border_style.normal.border_thickness = Thickness(1);
+
+ theme_resource_.text_box_border_style.focus_hover =
+ theme_resource_.text_box_border_style.focus;
}
UiManager::~UiManager() = default;