old mode 100755
new mode 100644
| | |
| | | }; |
| | | contentView.AddChidren(roomView); |
| | | |
| | | Button btnRoomText = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(280), |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | Text = room.floorName + room.roomName, |
| | | }; |
| | | roomView.AddChidren(btnRoomText); |
| | | |
| | | Button btnChoose = new Button() |
| | | { |
| | | X = Application.GetRealWidth(331), |
| | |
| | | Tag = "ChooseIcon" |
| | | }; |
| | | roomView.AddChidren(btnChoose); |
| | | if(scene.roomIds.Contains(room.roomId)) |
| | | |
| | | Button btnRoomText = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | //Width = Application.GetRealWidth(280), |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | Text = room.floorName + room.roomName, |
| | | }; |
| | | roomView.AddChidren(btnRoomText); |
| | | |
| | | if (scene.roomIds.Contains(room.roomId)) |
| | | { |
| | | btnChoose.IsSelected = true; |
| | | lastButton = btnChoose; |
| | |
| | | }; |
| | | roomView.AddChidren(btnLine); |
| | | |
| | | LoadEvent_ChangeSceneLocation(room, btnChoose); |
| | | LoadEvent_ChangeSceneLocation(room, btnRoomText); |
| | | |
| | | } |
| | | } |