diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-21 21:43:42 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-21 22:13:54 +0800 |
| commit | fd61739197ec009d47da87a7cc66970a55f12db4 (patch) | |
| tree | bb2bc007aaf9b47fecb090df96c23b5ee6a898e3 /src/ui/controls | |
| parent | 3b875091c445b7465b9bd044914318989a94d2ad (diff) | |
| download | cru-fd61739197ec009d47da87a7cc66970a55f12db4.tar.gz cru-fd61739197ec009d47da87a7cc66970a55f12db4.tar.bz2 cru-fd61739197ec009d47da87a7cc66970a55f12db4.zip | |
Clean codes. Remove member function const in RenderObject.
Diffstat (limited to 'src/ui/controls')
| -rw-r--r-- | src/ui/controls/Window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/controls/Window.cpp b/src/ui/controls/Window.cpp index 9722a3c6..8f06013e 100644 --- a/src/ui/controls/Window.cpp +++ b/src/ui/controls/Window.cpp @@ -12,7 +12,7 @@ Window::Window() control_host_(new ControlHost(this)), attached_control_(nullptr) { GetContainerRenderObject()->SetDefaultHorizontalAlignment(Alignment::Stretch); - GetContainerRenderObject()->SetDefaultVertialAlignment(Alignment::Stretch); + GetContainerRenderObject()->SetDefaultVerticalAlignment(Alignment::Stretch); } Window* Window::CreatePopup() { |
