黄学彪
2020-03-23 cc0d80c7d86c6d0167269b3408c4b30c24ce84e9
???????
1个文件已修改
25 ■■■■ 已修改文件
ZigbeeApp/Shared/Phone/Category/CategoryMainForm.cs 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ZigbeeApp/Shared/Phone/Category/CategoryMainForm.cs
old mode 100755 new mode 100644
@@ -1183,9 +1183,16 @@
                    refresview.BackgroundColor = ZigbeeColor.Current.LogicBackgroundColor;
                }
            }
            foreach (var logic in Common.Logic.LogicList)
            {
                var fLayout = new FrameLayout
                {
                    Height = Application.GetRealHeight(190 + 30),
                    Width = Application.GetRealWidth(1080 - 58),
                    BackgroundColor = ZigbeeColor.Current.LogicBackgroundColor,
                };
                refresview.AddChidren(fLayout);
                var logicRowlayout = new RowLayout
                {
@@ -1196,9 +1203,7 @@
                    SubViewWidth = Application.GetRealWidth(184),//改变编辑控件宽度多少;
                };
                refresview.AddChidren(logicRowlayout);
                fLayout.AddChidren(logicRowlayout);
                var logicnameBtn = new Button
                {
@@ -1213,7 +1218,6 @@
                };
                logicRowlayout.AddChidren(logicnameBtn);
                var logicswitchBtn = new Button
                {
                    Width = Application.GetRealWidth(104),
@@ -1225,8 +1229,6 @@
                };
                logicRowlayout.AddChidren(logicswitchBtn);
                logicswitchBtn.MouseUpEventHandler += (sender1, e1) =>
                {
@@ -1274,7 +1276,6 @@
                };
                ///删除
                var del = new Button
                {
@@ -1301,13 +1302,13 @@
                };
                var line = new Button
                {
                    Y = Application.GetRealHeight(215),
                    Height = Application.GetRealHeight(5),
                    Y = fLayout.Height - 1,
                    Height = 1,
                    X = Application.GetRealWidth(58),
                    Width = Application.GetRealWidth(1080 - 58),
                    BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor,
                    X = Application.GetRealWidth(58),
                };
                logicRowlayout.AddChidren(line);
                fLayout.AddChidren(line);
            }
        }