aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/FlexLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/FlexLayout.h')
-rw-r--r--include/cru/ui/controls/FlexLayout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/FlexLayout.h b/include/cru/ui/controls/FlexLayout.h
index 148586c0..8940e38e 100644
--- a/include/cru/ui/controls/FlexLayout.h
+++ b/include/cru/ui/controls/FlexLayout.h
@@ -13,7 +13,7 @@ using render::FlexMainAlignment;
class CRU_UI_API FlexLayout
: public LayoutControl<render::FlexLayoutRenderObject> {
public:
- static constexpr StringView kControlType = u"FlexLayout";
+ static constexpr std::string_view kControlType = "FlexLayout";
public:
FlexLayout();
@@ -23,7 +23,7 @@ class CRU_UI_API FlexLayout
FlexLayout& operator=(FlexLayout&& other) = delete;
~FlexLayout() override;
- String GetControlType() const final { return kControlType.ToString(); }
+ std::string GetControlType() const final { return std::string(kControlType); }
FlexMainAlignment GetContentMainAlign() const;
void SetContentMainAlign(FlexMainAlignment value);