Fix tasks view resizing for no reason + Wrap text correctly

This commit is contained in:
Vyn 2025-06-18 13:54:33 +02:00
parent e4b03ca418
commit f8ff4eb3c4
Signed by: vyn
GPG key ID: E1B2BE34E7A971E7
5 changed files with 141 additions and 176 deletions

View file

@ -64,12 +64,11 @@ export component CalendarView inherits Rectangle {
}
}
VerticalLayout {
padding: 16px;
spacing: 16px;
HorizontalLayout {
alignment: start;
padding: 16px;
VButton {
text: "New event";
icon-svg: Svg.plus;
@ -79,6 +78,11 @@ export component CalendarView inherits Rectangle {
}
}
}
Rectangle {
horizontal-stretch: 1;
background: Palette.background.brighter(0.2);
height: 1px;
}
Calendar {
delete-event-request(source-id, event-id) => { debug("DEELTE", source-id);AppWindowActions.delete-event(source-id, event-id) }
init => { debug("cal len", AppWindowModels.calendar.length) }