| | |
| | | { |
| | | Y = Application.GetRealHeight(16), |
| | | X = Application.GetRealWidth(72), |
| | | Width = Application.GetRealWidth(120), |
| | | Width = Application.GetRealWidth(120+80), |
| | | Height = Application.GetRealHeight(20), |
| | | //Text = pirDevice.name, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | /// <summary> |
| | | /// 当前个数 |
| | | /// </summary> |
| | | public Button geBtn = new Button |
| | | public TextButton geBtn = new TextButton |
| | | { |
| | | Y = Application.GetRealHeight(40), |
| | | X = Application.GetRealWidth(72), |
| | |
| | | public Button stateIconBtn = new Button |
| | | { |
| | | Y = Application.GetRealHeight(23), |
| | | X = Application.GetRealWidth(291), |
| | | X = Application.GetRealWidth(291-5), |
| | | Width = Application.GetRealWidth(8), |
| | | Height = Application.GetRealWidth(8), |
| | | UnSelectedImagePath ="PirIcon/offline.png", |
| | |
| | | public Button stateTextBtn = new Button |
| | | { |
| | | Y = Application.GetRealHeight(18), |
| | | X = Application.GetRealWidth(303), |
| | | Width = Application.GetRealWidth(30), |
| | | X = Application.GetRealWidth(303-5), |
| | | Width = Application.GetRealWidth(30+5), |
| | | Height = Application.GetRealHeight(17), |
| | | TextID = StringId.zaixianhwb, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | geBtn.Width = geBtn.GetTextWidth(); |
| | | devfLayout.AddChidren(sumBtn); |
| | | sumBtn.X = geBtn.Right; |
| | | sumBtn.TextAlignment = TextAlignment.CenterLeft; |
| | | devfLayout.AddChidren(stateIconBtn); |
| | | devfLayout.AddChidren(stateTextBtn); |
| | | devfLayout.AddChidren(lineBtn); |