From 955d02679c2c22bd3debd40a71510d78a8256cc4 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 07 十一月 2023 11:06:31 +0800 Subject: [PATCH] 场景使能自动化优化 --- HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandListPage.cs | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandListPage.cs index 6ac1e9a..46448a5 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandListPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandListPage.cs @@ -26,22 +26,24 @@ public void LoadPage() { - - new TopViewDiv(bodyView, Language.StringByID(StringId.Bind3thIotAccount)).LoadTopView(CSS_Color.MainBackgroundColor); + + var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.Bind3thIotAccount)); + topView.maginY = 10; + topView.LoadTopView(CSS_Color.MainBackgroundColor); bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; bodyView.AddChidren(new Button { - Y = Application.GetRealHeight(64), + Y = Application.GetRealHeight(64+10), Height = Application.GetRealHeight(1), BackgroundColor = CSS_Color.DividingLineColor, }); Button btnTipText = new Button() { - Y = Application.GetRealHeight(80), + Y = Application.GetRealHeight(80+10), Width = Application.GetRealWidth(347), Height = Application.GetRealHeight(65), Gravity = Gravity.CenterHorizontal, @@ -63,8 +65,8 @@ contentView = new VerticalScrolViewLayout() { - Y = Application.GetRealHeight(150), - Height = Application.GetRealHeight(573), + Y = Application.GetRealHeight(150+10), + Height = Application.GetRealHeight(573-10), }; bodyView.AddChidren(contentView); -- Gitblit v1.8.0