From 79c4170aa8bac62ab06370a7f00a32241bef2d18 Mon Sep 17 00:00:00 2001 From: Kieran Kihn <114803508+kierankihn@users.noreply.github.com> Date: Wed, 10 Dec 2025 21:46:44 +0800 Subject: [PATCH] refactor(ui): reorder properties in `StartPage` and `ConnectPage` for consistency --- ui/ConnectPage.slint | 7 +++---- ui/StartPage.slint | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/ui/ConnectPage.slint b/ui/ConnectPage.slint index d08c1f4..1f1f8e1 100644 --- a/ui/ConnectPage.slint +++ b/ui/ConnectPage.slint @@ -5,14 +5,13 @@ import { import { Button, LabeledInput } from "Components.slint"; export component ConnectPage inherits Window { - width: 1920px; - height: 1080px; - title: "UNO!"; - in property is-connecting; callback request-connect(string, string, string); + width: 1920px; + height: 1080px; + // 背景渐变 (从左上角的米色到右下角的淡粉色) Rectangle { background: @linear-gradient(135deg, #fdfbf7 0%, #f3e7e9 100%); diff --git a/ui/StartPage.slint b/ui/StartPage.slint index 7f4a445..a91683e 100644 --- a/ui/StartPage.slint +++ b/ui/StartPage.slint @@ -1,14 +1,13 @@ import {Button} from "Components.slint"; export component StartPage inherits Window { - width: 1920px; - height: 1080px; - title: "UNO!"; - in property is-ready; callback request-start; + width: 1920px; + height: 1080px; + // 背景渐变 (从左上角的米色到右下角的淡粉色) Rectangle { background: @linear-gradient(135deg, #fdfbf7 0%, #f3e7e9 100%);