diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-10-12 14:15:14 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-10-12 14:16:40 +0200 |
commit | 16576112b0004a912f73f216488ebfda50ed1efe (patch) | |
tree | 0a2da73508c4c137609abaeb8508fd54f8b71c0a /Widgets/ClockWidget.cpp | |
parent | c7463aad1159488fc6b9f7134dd88d0bf0b87b27 (diff) | |
download | serenity-16576112b0004a912f73f216488ebfda50ed1efe.zip |
Add a CheckBox widget.
Diffstat (limited to 'Widgets/ClockWidget.cpp')
-rw-r--r-- | Widgets/ClockWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Widgets/ClockWidget.cpp b/Widgets/ClockWidget.cpp index a4778e2ca2..a0e2aadcaa 100644 --- a/Widgets/ClockWidget.cpp +++ b/Widgets/ClockWidget.cpp @@ -5,7 +5,7 @@ ClockWidget::ClockWidget(Widget* parent) : Widget(parent) { - setRect({ 0, 0, 100, 40 }); + setWindowRelativeRect({ 0, 0, 100, 40 }); startTimer(250); } |