common/date-chooser: Wrap months

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/603>
This commit is contained in:
Hari Rana
2025-06-29 08:51:46 -04:00
parent 7a40a3be6a
commit d809192dd5
+2
View File
@@ -11,6 +11,7 @@ template $GcalDateChooser: Adw.Bin {
max-value: 11;
animate: false;
value: 0;
wrap: true;
visible: bind $get_split_choice_visible(template.show-heading, template.split-month-year) as <bool>;
notify::value => $split_multi_choice_changed() swapped;
@@ -83,6 +84,7 @@ Popover popover {
spacing: 12;
$GcalMultiChoice popover_month_choice {
wrap: true;
min-value: bind month_choice.min-value bidirectional;
max-value: bind month_choice.max-value bidirectional;
animate: bind month_choice.animate bidirectional;