Misc cleanup

- Spaces
- Unnecessary comments
This commit is contained in:
Candifloss 2025-12-03 23:07:21 +05:30
parent f5886ae8cf
commit 7d75c0943e

View File

@ -32,7 +32,6 @@ export component MainWindow inherits Window {
// Top row - left: Icon // Top row - left: Icon
Rectangle { Rectangle {
//background: #b95f5f;
row: 0; row: 0;
col: 0; col: 0;
colspan: 1; colspan: 1;
@ -48,9 +47,9 @@ export component MainWindow inherits Window {
text: root.weather_icon; text: root.weather_icon;
} }
} }
// Top row - right: Location // Top row - right: Location
Rectangle { Rectangle {
//background: #5fb6b9;
row: 0; row: 0;
col: 1; col: 1;
colspan: 4; colspan: 4;
@ -67,9 +66,9 @@ export component MainWindow inherits Window {
text: root.city + "," + root.country; text: root.city + "," + root.country;
} }
} }
// Middle row - right - middle: Temperature value // Middle row - right - middle: Temperature value
Rectangle { Rectangle {
//background: #895fb9;
row: 1; row: 1;
col: 1; col: 1;
colspan: 3; colspan: 3;
@ -85,9 +84,9 @@ export component MainWindow inherits Window {
text: root.temperature; text: root.temperature;
} }
} }
// Middle row - right - right - top: Degree symbol // Middle row - right - right - top: Degree symbol
Rectangle { Rectangle {
//background: #7bb95f;
row: 1; row: 1;
col: 4; col: 4;
colspan: 1; colspan: 1;
@ -103,9 +102,9 @@ export component MainWindow inherits Window {
text: ""; text: "";
} }
} }
// Middle row - right - right - bottom: Temperature unit // Middle row - right - right - bottom: Temperature unit
Rectangle { Rectangle {
//background: #b95f9e;
row: 2; row: 2;
col: 4; col: 4;
colspan: 1; colspan: 1;
@ -121,9 +120,9 @@ export component MainWindow inherits Window {
text: root.unit; text: root.unit;
} }
} }
// Bottom row - left: Weather condition // Bottom row - left: Weather condition
Rectangle { Rectangle {
//background: #5fb98f;
row: 3; row: 3;
col: 0; col: 0;
colspan: 3; colspan: 3;
@ -139,9 +138,9 @@ export component MainWindow inherits Window {
text: root.weather_main; text: root.weather_main;
} }
} }
// Bottom row - right: Weather description // Bottom row - right: Weather description
Rectangle { Rectangle {
//background: #b7b95f;
row: 3; row: 3;
col: 3; col: 3;
colspan: 2; colspan: 2;