| | |
| | | |
| | | var titleName = new Button |
| | | { |
| | | TextSize = 16, |
| | | TextSize = 17, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | X = Application.GetRealWidth(160), |
| | |
| | | Y = Application.GetRealHeight(92), |
| | | //TextID = MyInternationalizationString.customroom, |
| | | Text = Config.Instance.Home.GetCurrentFloorName, |
| | | TextSize = 14, |
| | | }; |
| | | topRowLayout.AddChidren(foolrname); |
| | | var dropdown = new Button |
| | |
| | | }; |
| | | this.AddChidren(saveframeLayout); |
| | | |
| | | var btnsave = new Button |
| | | var btnsave = new Button |
| | | { |
| | | X = Application.GetRealWidth(85), |
| | | Height = Application.GetRealHeight(130), |
| | |
| | | BackgroundColor = ZigbeeColor.Current.LogicBtnSaveBackgroundColor, |
| | | TextID = MyInternationalizationString.Save, |
| | | TextColor = ZigbeeColor.Current.LogicBtnSaveTextColor, |
| | | TextSize = 16, |
| | | }; |
| | | saveframeLayout.AddChidren(btnsave); |
| | | |
| | |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | X = Application.GetRealWidth(80), |
| | | TextID = MyInternationalizationString.selecfoolr, |
| | | TextSize = 14, |
| | | }; |
| | | foolrbjicon.AddChidren(btnfoolrtext); |
| | | |
| | |
| | | TextColor = ZigbeeColor.Current.LogicBtnCancelColor, |
| | | Tag = foolr.Key, |
| | | X = btnfoolricon.Right + Application.GetRealWidth(12), |
| | | TextSize = 14, |
| | | }; |
| | | foolrRowLayout.AddChidren(btnfoolrname); |
| | | if (foolrname.Text == foolr.Value) |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = ZigbeeColor.Current.LogicTextBlackColor, |
| | | SelectedTextColor = ZigbeeColor.Current.LogicAddColor, |
| | | TextSize = 14, |
| | | }; |
| | | sceneRow.AddChidren(scenename); |
| | | |