From 6de7f8a29b04737d80ad8cb17804fcc50d267bd9 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 20 十月 2023 14:21:28 +0800
Subject: [PATCH] 2.3版本
---
HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs | 24 ++++++------------------
1 files changed, 6 insertions(+), 18 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs
index e8d0e83..5f17c9e 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/VerticalBoutonFLayout.cs
@@ -7,7 +7,7 @@
{
public const int widthFrameLayout = 80;
- public const int heightFrameLayout = 140;
+ public const int heightFrameLayout = 140-15;
public const int cornerValue = 12;
public VerticalBoutonFLayout(int width = widthFrameLayout, int height = heightFrameLayout)
@@ -18,23 +18,11 @@
Radius = (uint)Application.GetRealHeight(cornerValue);
}
-
-
- //public FrameLayout fLayout = new FrameLayout
- //{
- // Y = Application.GetRealHeight(16),
- // Width = Application.GetRealWidth(widthFrameLayout - 8),
- // Height = Application.GetRealHeight(heightFrameLayout - 16),
- // Radius = (uint)Application.GetRealHeight(cornerValue),
- // BackgroundColor = MusicColor.ViewColor,
- //};
-
-
public FrameLayout ONFLayout = new FrameLayout
{
Height = Application.GetRealWidth(40),
Width = Application.GetRealWidth(40),
- Radius = (uint)Application.GetRealHeight(20),
+ Radius = (uint)Application.GetRealWidth(20),
BackgroundColor = MusicColor.WhiteColor,
Gravity = Gravity.CenterHorizontal,
};
@@ -45,6 +33,7 @@
Gravity = Gravity.Center,
TextColor = MusicColor.MusicTxet14SelectedColor,
TextSize = TextSize.Text14,
+ IsBold=true,
};
public Button btnName = new Button
@@ -55,7 +44,7 @@
TextColor = MusicColor.TextColor,
TextAlignment = TextAlignment.Center,
Gravity = Gravity.CenterHorizontal,
- Padding = new Padding(0, 20, 0, 20),
+ Padding = new Padding(0, 8, 0, 8),
IsMoreLines = true,
Text="none"
};
@@ -64,7 +53,7 @@
{
Height = Application.GetRealWidth(40),
Width = Application.GetRealWidth(40),
- Radius = (uint)Application.GetRealHeight(20),
+ Radius = (uint)Application.GetRealWidth(20),
BackgroundColor = MusicColor.WhiteColor,
Gravity = Gravity.CenterHorizontal,
};
@@ -75,6 +64,7 @@
Gravity = Gravity.Center,
TextColor = 0xFFA5AEBC,
TextSize = TextSize.Text14,
+ IsBold = true,
};
@@ -85,13 +75,11 @@
public void AddView(FrameLayout parent)
{
parent.AddChidren(this);
- //this.AddChidren(fLayout);
this.AddChidren(ONFLayout);
ONFLayout.AddChidren(ONButton);
this.AddChidren(btnName);
this.AddChidren(OFFFLayout);
OFFFLayout.AddChidren(OFFButton);
-
ONFLayout.Y = Application.GetRealHeight(11);
btnName.Y = ONFLayout.Bottom + Application.GetRealHeight(11);
OFFFLayout.Y = btnName.Bottom + Application.GetRealHeight(11);
--
Gitblit v1.8.0