improve:计时器UI
This commit is contained in:
@@ -399,7 +399,7 @@
|
|||||||
<!-- 背景指示器 -->
|
<!-- 背景指示器 -->
|
||||||
<Border x:Name="SegmentedIndicator"
|
<Border x:Name="SegmentedIndicator"
|
||||||
Background="{DynamicResource SeewoTimerWindowPrimaryButtonBackground}"
|
Background="{DynamicResource SeewoTimerWindowPrimaryButtonBackground}"
|
||||||
CornerRadius="6,0,0,6"
|
CornerRadius="7,0,0,7"
|
||||||
Width="120" Height="38"
|
Width="120" Height="38"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
|
|||||||
@@ -587,7 +587,7 @@ namespace Ink_Canvas
|
|||||||
if (indicator != null)
|
if (indicator != null)
|
||||||
{
|
{
|
||||||
// 设置左侧圆角
|
// 设置左侧圆角
|
||||||
indicator.CornerRadius = new CornerRadius(6, 0, 0, 6);
|
indicator.CornerRadius = new CornerRadius(7, 0, 0, 7);
|
||||||
var animation = new System.Windows.Media.Animation.ThicknessAnimation(
|
var animation = new System.Windows.Media.Animation.ThicknessAnimation(
|
||||||
new Thickness(0, 0, 0, 0),
|
new Thickness(0, 0, 0, 0),
|
||||||
TimeSpan.FromMilliseconds(200));
|
TimeSpan.FromMilliseconds(200));
|
||||||
@@ -621,7 +621,7 @@ namespace Ink_Canvas
|
|||||||
if (indicator != null)
|
if (indicator != null)
|
||||||
{
|
{
|
||||||
// 设置右侧圆角
|
// 设置右侧圆角
|
||||||
indicator.CornerRadius = new CornerRadius(0, 6, 6, 0);
|
indicator.CornerRadius = new CornerRadius(0, 7, 7, 0);
|
||||||
var animation = new System.Windows.Media.Animation.ThicknessAnimation(
|
var animation = new System.Windows.Media.Animation.ThicknessAnimation(
|
||||||
new Thickness(118, 0, 0, 0),
|
new Thickness(118, 0, 0, 0),
|
||||||
TimeSpan.FromMilliseconds(200));
|
TimeSpan.FromMilliseconds(200));
|
||||||
|
|||||||
Reference in New Issue
Block a user