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:
parent
7d8d45e757
commit
14e074cd24
4 changed files with 46 additions and 62 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue