gui: Update to libadwaita's custom properties and style classes

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1440

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/624>
This commit is contained in:
Hari Rana
2025-08-18 19:59:43 -04:00
parent f887ea10f8
commit 534fb3a83c
3 changed files with 6 additions and 34 deletions
+2 -28
View File
@@ -34,6 +34,8 @@ template $GcalMonthView: Widget {
[header]
Box {
styles [
"header",
"heading",
"month-header",
"view",
]
@@ -44,70 +46,42 @@ template $GcalMonthView: Widget {
margin-start: 6;
hexpand: true;
xalign: 0.0;
styles [
"header",
]
}
Label label_1 {
margin-start: 6;
hexpand: true;
xalign: 0.0;
styles [
"header",
]
}
Label label_2 {
margin-start: 6;
hexpand: true;
xalign: 0.0;
styles [
"header",
]
}
Label label_3 {
margin-start: 6;
hexpand: true;
xalign: 0.0;
styles [
"header",
]
}
Label label_4 {
margin-start: 6;
hexpand: true;
xalign: 0.0;
styles [
"header",
]
}
Label label_5 {
margin-start: 6;
hexpand: true;
xalign: 0.0;
styles [
"header",
]
}
Label label_6 {
margin-start: 6;
hexpand: true;
xalign: 0.0;
styles [
"header",
]
}
}
}