aboutsummaryrefslogtreecommitdiff
path: root/src/ui/UiManager.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-09-11 11:39:19 +0800
committercrupest <crupest@outlook.com>2020-09-11 11:39:19 +0800
commitf357d11518796b0e0c2c5f23d8eafeda48226af9 (patch)
tree503c2a8e23fb2fcf35aaea054120ee1402337b0a /src/ui/UiManager.cpp
parent93b8a62d28f9427f0979d62b71f12fb2858064ee (diff)
downloadcru-f357d11518796b0e0c2c5f23d8eafeda48226af9.tar.gz
cru-f357d11518796b0e0c2c5f23d8eafeda48226af9.tar.bz2
cru-f357d11518796b0e0c2c5f23d8eafeda48226af9.zip
...
Diffstat (limited to 'src/ui/UiManager.cpp')
-rw-r--r--src/ui/UiManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/UiManager.cpp b/src/ui/UiManager.cpp
index b50a9775..4cd38efa 100644
--- a/src/ui/UiManager.cpp
+++ b/src/ui/UiManager.cpp
@@ -1,10 +1,10 @@
#include "cru/ui/UiManager.hpp"
+#include "Helper.hpp"
#include "cru/platform/graph/Brush.hpp"
#include "cru/platform/graph/Factory.hpp"
#include "cru/platform/graph/Font.hpp"
#include "cru/platform/native/UiApplication.hpp"
-#include "Helper.hpp"
namespace cru::ui {
using namespace cru::platform::graph;
@@ -68,10 +68,10 @@ UiManager::UiManager() {
theme_resource_.text_box_border_style.hover =
theme_resource_.text_box_border_style.normal;
- theme_resource_.text_box_border_style.normal.border_brush =
+ theme_resource_.text_box_border_style.focus.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.border_radius = CornerRadius(5);
+ theme_resource_.text_box_border_style.focus.border_thickness = Thickness(1);
theme_resource_.text_box_border_style.focus_hover =
theme_resource_.text_box_border_style.focus;