From e209b6a3cebceb656d60d0724f55c6690ec39129 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 12 十月 2023 13:09:44 +0800 Subject: [PATCH] 2023年10月12日13:09:30 --- HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs index 270b1e6..f8242be 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs @@ -426,7 +426,7 @@ Width = Application.GetRealWidth(48), Gravity = Gravity.CenterHorizontal, BackgroundColor = 0xff201F25, - Radius = (uint)Application.GetRealHeight(24), + Radius = (uint)Application.GetRealWidth(24), }; layout.AddChidren(switchFl); @@ -1123,7 +1123,7 @@ class CustomFrameLayout : FrameLayout { public const int widthFrameLayout = 36; - public const int heightFrameLayout = 49; + public const int heightFrameLayout = 49-6; public CustomFrameLayout(int width = widthFrameLayout, int height = heightFrameLayout) { this.Width = Application.GetRealWidth(width); @@ -1145,6 +1145,7 @@ SelectedTextColor = MusicColor.MusicTxet14SelectedColor, TextAlignment = TextAlignment.Center, Gravity = Gravity.CenterHorizontal, + Padding=new Padding(0,0,0,0), }; Button btnNumber = new Button { @@ -1162,9 +1163,9 @@ Width = Application.GetRealWidth(12), Height = Application.GetRealWidth(12), Gravity = Gravity.Center, - Radius = (uint)Application.GetRealHeight(6), + Radius = (uint)Application.GetRealWidth(6), BackgroundColor=0x00000000, - SelectedBackgroundColor = 0xFFEFEFEF, + SelectedBackgroundColor = 0xFFF2F3F7, }; public FrameLayout clickFl = new FrameLayout -- Gitblit v1.8.0