From f60b17fa18701c2cee017a5117e96510f54b44cf Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期一, 02 十二月 2024 16:05:44 +0800
Subject: [PATCH] 更新功能
---
HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index 9df41cd..8fc33ea 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -366,23 +366,30 @@
{
Height = Application.GetRealWidth(192),
Radius = (uint)Application.GetRealWidth(12),
- BackgroundColor = 0xFFFFFFFF,
};
roomView.AddChidren(roomViewbgColor);
+
+ var nameView = new FrameLayout()
+ {
+ Height = Application.GetRealWidth(50),
+ BackgroundColor = 0x33000000,
+ Radius = (uint)Application.GetRealWidth(12),
+ };
+ roomView.AddChidren(nameView);
var btnFloorAndRoomName = new Button()
{
X = Application.GetRealWidth(16),
- Y = Application.GetRealHeight(12 - 2),
+ Y = Application.GetRealWidth(12 - 2),
Width = Application.GetRealWidth(266),
- Height = Application.GetRealHeight(22 + 2 + 2),
+ Height = Application.GetRealWidth(22 + 2 + 2),
Text = room.floorName + room.roomName,
TextAlignment = TextAlignment.CenterLeft,
TextColor = CSS_Color.MainBackgroundColor,
- TextSize = CSS_FontSize.HeadlineFontSize,
+ TextSize = CSS_FontSize.SubheadingFontSize + OnAppConfig.Instance.FontAmplify,
IsBold = true,
};
- roomView.AddChidren(btnFloorAndRoomName);
+ nameView.AddChidren(btnFloorAndRoomName);
var btnAllClose = new Button()
{
--
Gitblit v1.8.0