mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-02 09:23:18 +00:00
Fix tasks view resizing for no reason + Wrap text correctly
This commit is contained in:
parent
e4b03ca418
commit
f8ff4eb3c4
5 changed files with 141 additions and 176 deletions
|
@ -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) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue