diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2021-04-02 12:13:43 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-02 22:23:21 +0200 |
commit | 14e074cd2499e017ea690319a649235191e484d0 (patch) | |
tree | 4f0d680502bae2de01549cae89ae897bdbfe3492 /Userland/Applications | |
parent | 7d8d45e757ec16a73406746e179ab611a90a32d1 (diff) | |
download | serenity-14e074cd2499e017ea690319a649235191e484d0.zip |
LibGUI+Calendar: Inherit from Frame class
Fixes incorrect painting with variable thickness and cuts down
on some layout boilerplate.
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/Calendar/CalendarWindow.gml | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Userland/Applications/Calendar/CalendarWindow.gml b/Userland/Applications/Calendar/CalendarWindow.gml index f55e7372da..9a33d34c8c 100644 --- a/Userland/Applications/Calendar/CalendarWindow.gml +++ b/Userland/Applications/Calendar/CalendarWindow.gml @@ -11,14 +11,7 @@ } } - @GUI::Frame { - name: "calendar_frame" - layout: @GUI::VerticalBoxLayout { - margins: [2, 2, 2, 2] - } - - @GUI::Calendar { - name: "calendar" - } + @GUI::Calendar { + name: "calendar" } } |