From e8147ceaf39253db2c9e6cfe023b505f71ec7ba5 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 24 八月 2023 17:48:30 +0800 Subject: [PATCH] 备份2 --- OnPro/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/OnPro/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/OnPro/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs index 0eb773b..ce559d4 100644 --- a/OnPro/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs +++ b/OnPro/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs @@ -234,6 +234,7 @@ { Y = Application.GetRealHeight(53), Height = Application.GetRealHeight(667 - 64 - 49 - 52 + 0), + }; scenePageView.AddChidren(sceneFunctionView); LoadSceneFunctionControlZone(null); @@ -280,7 +281,7 @@ Y = btnNoCollectionBg.Bottom, TextAlignment = TextAlignment.Center, TextColor = CSS_Color.PromptingColor1, - TextSize = CSS_FontSize.PromptFontSize_FirstLevel, + TextSize = CSS_FontSize.TextFontSize, TextID = StringId.TipNoScene, }; view.AddChidren(btnNoCollectionTip); @@ -322,6 +323,9 @@ index++; }); } + Application.RunOnMainThread(() => { + sceneFunctionView.AddChidren(new Button { Height = Application.GetRealHeight(30) }); + }); }) { IsBackground = true }.Start(); } @@ -330,7 +334,6 @@ { MainPage.Log("homepage erorr : " + ex.Message); } - sceneFunctionView.AddChidren(new Button { Height = Application.GetRealHeight(30) }); } @@ -348,7 +351,7 @@ }; var btnSceneGg = new ImageView() { - Radius = (uint)Application.GetRealWidth(16), + Radius = (uint)Application.GetRealWidth(12), BorderColor = 0x00000000, BorderWidth = 1, }; @@ -361,7 +364,7 @@ Button btnCoverd = new Button() { //UnSelectedImagePath = "Collection/SceneCovered.png", - Radius = (uint)Application.GetRealWidth(16), + Radius = (uint)Application.GetRealWidth(12), BackgroundColor = 0x44000000, }; view.AddChidren(btnCoverd); -- Gitblit v1.8.0