From 2bf5ec775cb57d8015bee58c745a1e48081ff1b1 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期二, 15 十月 2019 11:06:05 +0800
Subject: [PATCH] 首次合并了全部的代码

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalFrameControl.cs |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalFrameControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalFrameControl.cs
index 98fe4b8..0c90fa4 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalFrameControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalFrameControl.cs
@@ -79,6 +79,24 @@
         #region 鈻� 涓�鑸柟娉昣__________________________
 
         /// <summary>
+        /// 璋冩暣瀛怓rameLayout鐨勯珮搴�
+        /// </summary>
+        /// <param name="frame"></param>
+        /// <param name="buttomSpace">搴曢儴绌虹櫧闂磋窛(鐪熷疄鍊�)</param>
+        public void AdjustChidrenFrameHeight(FrameLayout frame, int buttomSpace)
+        {
+            var child = frame.GetChildren(frame.ChildrenCount - 1);
+            if (child != null)
+            {
+                //璋冩暣妗屽竷楂樺害
+                if (frame.Height < child.Bottom + buttomSpace)
+                {
+                    frame.Height = child.Bottom + buttomSpace;
+                }
+            }
+        }
+
+        /// <summary>
         /// 璋冩暣妗屽竷楂樺害
         /// </summary>
         public void AdjustTableHeight()

--
Gitblit v1.8.0