common/date-chooser: Use GcalGizmo

GcalGizmo allows us to handle focus within child widgets
much more cleanly, as it no longer requires us to override the
ancestor and re-iterating through children.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/760>
This commit is contained in:
Hari Rana
2026-09-16 12:22:36 +00:00
committed by Marge Bot
parent 2c4faa8f3a
commit dfb9ea645c
2 changed files with 58 additions and 64 deletions
+7 -3
View File
@@ -64,15 +64,19 @@ template $GcalDateChooser: Adw.Bin {
}
}
Grid grid {
row-homogeneous: true;
column-homogeneous: true;
$GcalGizmo gizmo {
layout-manager: BinLayout {};
layout {
column: 0;
column-span: 2;
row: 1;
}
Grid grid {
row-homogeneous: true;
column-homogeneous: true;
}
}
}
}