From ed2f4a97aa48cdb4a013d2a389877f52eb3eccdf Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期二, 29 十月 2019 13:15:59 +0800 Subject: [PATCH] Merge branch 'DEV_GXC' of http://172.16.1.23:6688/r/~xm/HomeApp into DEV_GXC --- ZigbeeApp/Shared/Phone/Device/CommonForm/SelectDeviceWithSeekBarRow.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/SelectDeviceWithSeekBarRow.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/SelectDeviceWithSeekBarRow.cs old mode 100755 new mode 100644 index 4f9dd8f..b1dce70 --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/SelectDeviceWithSeekBarRow.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/SelectDeviceWithSeekBarRow.cs @@ -113,7 +113,7 @@ ProgressColor = ZigbeeColor.Current.GXCProgressColor, ThumbColor = ZigbeeColor.Current.GXCBackgroundColor, Max = MaxLevel, - Progress = max + Progress = MaxLevel }; AddChidren(SeekBar); @@ -123,7 +123,7 @@ Height = Application.GetRealHeight(50), Width = Application.GetRealWidth(200), Gravity = Gravity.CenterHorizontal, - Text = $"{SeekBar.Progress} %", + Text = $"{(int)(SeekBar.Progress * 1.0 / MaxLevel * 100)} %", TextColor = ZigbeeColor.Current.GXCTextGrayColor }; AddChidren(SeekBarTitle); -- Gitblit v1.8.0