JLChen
2021-01-05 f500e14c0a994487070380c50c85e0929cbc8e63
Crabtree/SmartHome/UI/SimpleControl/Phone/Room/UserRooms.cs
@@ -64,7 +64,7 @@
            Action action = () => {
                UserMiddle.ShowRoomsView ();
            };
            ItemButton.MouseUpEventHandler +=(sender, e) => {
                AddOrUpdateRoom (action);
            };
@@ -74,9 +74,11 @@
            }
            var RoomBodyView = new VerticalScrolViewLayout () {
                //Y = Application.GetRealHeight (126),
                //Width = Application.GetRealWidth(640),
                //Height = Application.GetRealHeight (1136 - 126 - 90),
                Y = Application.GetRealHeight (126),
                Width = Application.GetRealWidth(640),
                Height = Application.GetRealHeight (1136 - 126 - 90),
                Height = Application.GetRealHeight (Application.DesignHeight - 126 - UserMiddle.userMenuItemHeight),
            };
            UserMiddle.RoomBodyView.AddChidren (RoomBodyView);