refactor(ui): reorder properties in StartPage and ConnectPage for consistency

This commit is contained in:
Kieran Kihn
2025-12-10 21:46:44 +08:00
parent a161b55f35
commit 79c4170aa8
2 changed files with 6 additions and 8 deletions

View File

@@ -5,14 +5,13 @@ import {
import { Button, LabeledInput } from "Components.slint"; import { Button, LabeledInput } from "Components.slint";
export component ConnectPage inherits Window { export component ConnectPage inherits Window {
width: 1920px;
height: 1080px;
title: "UNO!";
in property <bool> is-connecting; in property <bool> is-connecting;
callback request-connect(string, string, string); callback request-connect(string, string, string);
width: 1920px;
height: 1080px;
// 背景渐变 (从左上角的米色到右下角的淡粉色) // 背景渐变 (从左上角的米色到右下角的淡粉色)
Rectangle { Rectangle {
background: @linear-gradient(135deg, #fdfbf7 0%, #f3e7e9 100%); background: @linear-gradient(135deg, #fdfbf7 0%, #f3e7e9 100%);

View File

@@ -1,14 +1,13 @@
import {Button} from "Components.slint"; import {Button} from "Components.slint";
export component StartPage inherits Window { export component StartPage inherits Window {
width: 1920px;
height: 1080px;
title: "UNO!";
in property <bool> is-ready; in property <bool> is-ready;
callback request-start; callback request-start;
width: 1920px;
height: 1080px;
// 背景渐变 (从左上角的米色到右下角的淡粉色) // 背景渐变 (从左上角的米色到右下角的淡粉色)
Rectangle { Rectangle {
background: @linear-gradient(135deg, #fdfbf7 0%, #f3e7e9 100%); background: @linear-gradient(135deg, #fdfbf7 0%, #f3e7e9 100%);