From 0f2e0147e8990e913d16d99bc1b94fb6bc53abd7 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 03 十二月 2020 15:35:42 +0800
Subject: [PATCH] 2020-12-03-1
---
HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index 7bff1ae..16e1c44 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -224,7 +224,7 @@
{
Gravity = Gravity.CenterHorizontal,
Width = Application.GetRealWidth(343),
- Height = Application.GetRealHeight(184),
+ Height = Application.GetRealWidth(192),//2020-12-01 鎴块棿鍥剧墖姣斾緥鏀瑰洖16:9
Radius = (uint)Application.GetRealWidth(12),
Tag = room.sid,
};
@@ -233,7 +233,7 @@
var roomViewbg = new ImageView()
{
Width = Application.GetRealWidth(343),
- Height = Application.GetRealHeight(184),
+ Height = Application.GetRealWidth(192),//2020-12-01 鎴块棿鍥剧墖姣斾緥鏀瑰洖16:9
ImagePath = room.backgroundImage,
Radius = (uint)Application.GetRealWidth(12),
};
@@ -353,14 +353,14 @@
var btn = new Button()
{
- Height = Application.GetRealHeight(20),
+ Height = Application.GetRealWidth(20),
};
roomListView.AddChidren(btn);
roomViewbgColor.MouseUpEventHandler += (sender, e) =>
{
- Action<Room > ReloadRoomName = (obj) => {
- btnFloorAndRoomName.Text = obj.floorName + obj.name;
+ Action ReloadRoomName = () => {
+ btnFloorAndRoomName.Text = room.floorName + room.name;
};
var view = new RoomPage(room, ReloadRoomName);
--
Gitblit v1.8.0