From 72c7bdb62b203eeb6a590e96bf25a4e186bd45cd Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 03 八月 2023 20:21:55 +0800
Subject: [PATCH] 2023年08月03日20:21:49

---
 HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs
index 9bf4e83..4ee20f1 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs
@@ -40,7 +40,6 @@
             TextAlignment = TextAlignment.Center,
             Gravity = Gravity.CenterHorizontal,
             Padding = new Padding(0, 20, 0, 20),
-            IsMoreLines = true,
             Name = "btnName",
 
 
@@ -103,6 +102,7 @@
         /// </summary>
         public void AddLeftLine()
         {
+            btnLeftLine.Height = this.Height;
             this.AddChidren(btnLeftLine);
         }
         /// <summary>
@@ -110,6 +110,8 @@
         /// </summary>
         public void AddRightLine()
         {
+            btnRightLine.Height = this.Height;
+            btnRightLine.X = this.Width - Application.GetRealWidth(1);
             this.AddChidren(btnRightLine);
         }
 
@@ -118,6 +120,7 @@
         /// </summary>
         public void AddTopLine()
         {
+            btnTopLine.Width = this.Width;
             this.AddChidren(btnTopLine);
         }
         /// <summary>
@@ -125,6 +128,8 @@
         /// </summary>
         public void AddBottomLine()
         {
+            btnBottomLine.Y = this.Height - Application.GetRealHeight(1);
+            btnBottomLine.Width = this.Width;
             this.AddChidren(btnBottomLine);
         }
 

--
Gitblit v1.8.0