Skip to content

Commit 735da97

Browse files
authored
Update window.slint
1 parent 492998a commit 735da97

1 file changed

Lines changed: 26 additions & 2 deletions

File tree

src/SyVibes/ui/window.slint

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ export component MainWindow inherits Window {
99
in property <string> memory: "";
1010
in property <string> disk: "";
1111
in property <string> network: "";
12+
in property <string> system: "";
1213

1314
title: "SyVibes";
1415
accessible-role: AccessibleRole.image;
1516
background: #1e1e1f;
1617

1718
GridLayout {
18-
spacing: 20pt;
19+
spacing: 20px;
1920
padding: 10px;
2021
x: 8px;
2122
y: 17px;
@@ -135,7 +136,30 @@ export component MainWindow inherits Window {
135136
}
136137
}
137138
}
139+
140+
Tab {
141+
title: "System infos";
142+
padding: 10px;
143+
ScrollView {
144+
width: parent.width;
145+
height: parent.height - 60px;
146+
viewport-width: 300px;
147+
viewport-height: 2000px;
148+
vertical-scrollbar-policy: ScrollBarPolicy.always_on;
149+
horizontal-scrollbar-policy: ScrollBarPolicy.always_on;
150+
151+
Text {
152+
x: 0px;
153+
y: 0px;
154+
text: root.system;
155+
font-size: 15px;
156+
font-weight: 900;
157+
font-family: "Comic Sans MS";
158+
font-italic: true;
159+
}
160+
}
161+
}
138162
}
139163
}
140164
}
141-
//need to improove all those tabs
165+
//need to improove all those tabs

0 commit comments

Comments
 (0)