mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-02 01:13:19 +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
|
@ -12,15 +12,15 @@ import { VButton } from "../../../external/selenite/components/Button.slint";
|
|||
export component AppWindow inherits Window {
|
||||
|
||||
title: "Mirai";
|
||||
min-height: 100px;
|
||||
max-height: 4000px; // needed, otherwise the window wants to fit the content (on Swaywm)
|
||||
//min-height: 100px;
|
||||
//max-height: 4000px; // needed, otherwise the window wants to fit the content (on Swaywm)
|
||||
background: Palette.pane;
|
||||
|
||||
private property<bool> show-tasks: false;
|
||||
|
||||
HorizontalLayout {
|
||||
VerticalLayout {
|
||||
HorizontalLayout {
|
||||
VerticalLayout {
|
||||
padding: 16px;
|
||||
alignment: LayoutAlignment.stretch;
|
||||
spacing: 8px;
|
||||
|
@ -37,6 +37,7 @@ export component AppWindow inherits Window {
|
|||
SideBar {}
|
||||
}
|
||||
VerticalLayout {
|
||||
|
||||
|
||||
if show-tasks : MainView {
|
||||
horizontal-stretch: 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue