From 0bdc0a135dbe31761b53f432ed34f347f0a4e36b Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 05 三月 2020 10:49:41 +0800
Subject: [PATCH] 20200304

---
 HDL_ON/UI/UI2/1-HomePage/HomePage.cs |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
index 8dce36f..2f4519b 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -298,7 +298,7 @@
                     {
                         rowView = new FrameLayout()
                         {
-                            Height = Application.GetRealHeight(140),
+                            Height = Application.GetRealWidth(140),
                         };
                         contextView.AddChidren(rowView);
                     }
@@ -311,7 +311,7 @@
                     {
                         X = functionView_X,
                         Width = Application.GetRealWidth(182),
-                        Height = Application.GetRealHeight(140),
+                        Height = Application.GetRealWidth(140),
                         Tag = function.sid
                     };
                     rowView.AddChidren(functionView);
@@ -365,7 +365,7 @@
                 btnIcon = new Button()
                 {
                     X = Application.GetRealWidth(16),
-                    Y = Application.GetRealHeight(16),
+                    Y = Application.GetRealWidth(16),
                     Width = Application.GetMinRealAverage(32),
                     Height = Application.GetMinRealAverage(32),
                 };
@@ -375,12 +375,12 @@
                 btnName = new Button()
                 {
                     X = Application.GetRealWidth(21),
-                    Y = Application.GetRealHeight(10) + btnIcon.Bottom,
+                    Y = Application.GetRealWidth(10) + btnIcon.Bottom,
                     Text = function.name,
                     IsBold = true,
                     TextColor = CSS.CSS_Color.FirstLevelTitleColor,
                     TextSize = CSS.CSS_FontSize.TextFontSize,
-                    Height = Application.GetRealHeight(24),
+                    Height = Application.GetRealWidth(24),
                     Width = Application.GetRealWidth(140),
                     TextAlignment = TextAlignment.CenterLeft,
                 };
@@ -391,7 +391,7 @@
                 {
                     X = Application.GetRealWidth(21),
                     Y = btnName.Bottom,
-                    Height = Application.GetRealHeight(18),
+                    Height = Application.GetRealWidth(18),
                     Width = Application.GetRealWidth(113),
                     TextColor = CSS.CSS_Color.PromptingColor1,
                     TextSize = CSS.CSS_FontSize.PromptFontSize_SecondaryLevel,
@@ -418,7 +418,7 @@
                 {
                     X = Application.GetRealWidth(21),
                     Y = btnZone.Bottom,
-                    Height = Application.GetRealHeight(18),
+                    Height = Application.GetRealWidth(18),
                     Width = Application.GetRealWidth(113),
                     SelectedTextColor = CSS.CSS_Color.MainBackgroundColor,
                     TextColor = 0x00000000,
@@ -433,7 +433,7 @@
                 btnCollection = new Button()
                 {
                     X = Application.GetRealWidth(130),
-                    Y = Application.GetRealHeight(16),
+                    Y = Application.GetRealWidth(16),
                     Width = Application.GetMinRealAverage(32),
                     Height = Application.GetMinRealAverage(32),
                     SelectedImagePath = "Collection/CollectionWhiteIcon.png",
@@ -448,11 +448,11 @@
                 btnSwitch = new Button()
                 {
                     X = Application.GetRealWidth(122),
-                    Y = Application.GetRealHeight(92),
+                    Y = Application.GetRealWidth(92),
                     Width = Application.GetMinRealAverage(48),
                     Height = Application.GetMinRealAverage(36),
-                    UnSelectedImagePath = "Collection/Switch.png",
-                    SelectedImagePath = "Collection/SwitchOn.png",
+                    UnSelectedImagePath = "Public/Switch.png",
+                    SelectedImagePath = "Public/SwitchOn.png",
                 };
                 view.AddChidren(btnSwitch);
 

--
Gitblit v1.8.0