Skip to content

Commit 53ed07a

Browse files
author
Carl Chang
committed
fix slideshow control panel text;
1 parent a1f4aa4 commit 53ed07a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

SlideshowWindow.xaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
<Style x:Key="HeaderStyle" TargetType="TextBlock" BasedOn="{StaticResource HeaderTextStyle}">
1616
<Setter Property="Margin" Value="0 0 16 0"/>
1717
</Style>
18-
<Style TargetType="TextBox" BasedOn="{StaticResource BorderlessStyle}"/>
18+
<Style TargetType="TextBox" BasedOn="{StaticResource BorderlessStyle}">
19+
<Setter Property="MinWidth" Value="20" />
20+
</Style>
1921

2022
<Style TargetType="ContentControl" BasedOn="{StaticResource RoundContentControlBaseStyle}"/>
2123
</Canvas.Resources>
2224

2325
<Border x:Name="B_ControlPanel" Canvas.Top="40" Canvas.Right="10" CornerRadius="4" Background="Transparent"
24-
Panel.ZIndex="99" Width="260" MinHeight="260" MouseLeave="B_ControlPanel_MouseLeave">
26+
Panel.ZIndex="99" MinWidth="260" MinHeight="260" MouseLeave="B_ControlPanel_MouseLeave">
2527
<Border.Style>
2628
<Style TargetType="Border">
2729
<Style.Triggers>
@@ -38,9 +40,7 @@
3840
</Border.Style>
3941
<StackPanel>
4042
<StackPanel.Resources>
41-
<Style TargetType="Border" BasedOn="{StaticResource BorderBlockStyle}">
42-
<Setter Property="Width" Value="240"/>
43-
</Style>
43+
<Style TargetType="Border" BasedOn="{StaticResource BorderBlockStyle}"/>
4444
<Style TargetType="StackPanel">
4545
<Setter Property="Orientation" Value="Horizontal" />
4646
</Style>

0 commit comments

Comments
 (0)