1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:37:35 +00:00

LibGUI+Calendar: Inherit from Frame class

Fixes incorrect painting with variable thickness and cuts down
on some layout boilerplate.
This commit is contained in:
thankyouverycool 2021-04-02 12:13:43 -04:00 committed by Andreas Kling
parent 7d8d45e757
commit 14e074cd24
4 changed files with 46 additions and 62 deletions

View file

@ -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"
}
}