event-editor/schedule-section: Inherit AdwPreferencesGroup

This is a prerequisite to make GcalEventEditorSection require
inheriting AdwPreferencesGroup.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/781>
This commit is contained in:
Hari Rana
2026-06-23 14:10:34 -04:00
parent 60c9989e4b
commit cbee9bbb60
4 changed files with 6 additions and 10 deletions
@@ -1,16 +1,14 @@
using Gtk 4.0;
using Adw 1;
template $GcalScheduleSection: Box {
orientation: vertical;
spacing: 12;
template $GcalScheduleSection: Adw.PreferencesGroup {
Adw.InlineViewSwitcher {
stack: schedule_type_stack;
homogeneous: true;
}
Adw.ViewStack schedule_type_stack {
margin-top: 12;
vhomogeneous: false;
Adw.ViewStackPage {