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:
@@ -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",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user