improve:点名UI
优化显示范围
This commit is contained in:
@@ -59,10 +59,12 @@
|
|||||||
<!-- 结果显示区域 -->
|
<!-- 结果显示区域 -->
|
||||||
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
|
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||||
<!-- 主结果显示 -->
|
<!-- 主结果显示 -->
|
||||||
<TextBlock x:Name="MainResultDisplay" Text="点击开始点名" FontSize="48" FontWeight="Bold"
|
<Viewbox Stretch="Uniform" MaxWidth="460" MaxHeight="120" Margin="0,0,0,20">
|
||||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
<TextBlock x:Name="MainResultDisplay" Text="点击开始点名" FontSize="48" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource NewRollCallWindowDigitForeground}"
|
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||||
TextAlignment="Center" Margin="0,0,0,20"/>
|
Foreground="{DynamicResource NewRollCallWindowDigitForeground}"
|
||||||
|
TextAlignment="Center"/>
|
||||||
|
</Viewbox>
|
||||||
|
|
||||||
<!-- 多结果显示区域 - 支持最多20个结果 -->
|
<!-- 多结果显示区域 - 支持最多20个结果 -->
|
||||||
<ScrollViewer x:Name="MultiResultScrollViewer" MaxHeight="200" VerticalScrollBarVisibility="Auto"
|
<ScrollViewer x:Name="MultiResultScrollViewer" MaxHeight="200" VerticalScrollBarVisibility="Auto"
|
||||||
|
|||||||
@@ -49,9 +49,11 @@
|
|||||||
Stretch="Uniform"
|
Stretch="Uniform"
|
||||||
Margin="0,0,8,0"/>
|
Margin="0,0,8,0"/>
|
||||||
<!-- 快抽文字 -->
|
<!-- 快抽文字 -->
|
||||||
<TextBlock Text="快抽" FontSize="20" FontWeight="Bold"
|
<Viewbox Stretch="Uniform" MaxWidth="100" MaxHeight="30">
|
||||||
Foreground="{DynamicResource QuickDrawWindowTitleForeground}"
|
<TextBlock Text="快抽" FontSize="20" FontWeight="Bold"
|
||||||
x:Name="TitleText"/>
|
Foreground="{DynamicResource QuickDrawWindowTitleForeground}"
|
||||||
|
x:Name="TitleText"/>
|
||||||
|
</Viewbox>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
@@ -61,14 +63,16 @@
|
|||||||
<!-- 结果显示区域 -->
|
<!-- 结果显示区域 -->
|
||||||
<Grid x:Name="ResultGrid" HorizontalAlignment="Center" VerticalAlignment="Center">
|
<Grid x:Name="ResultGrid" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||||
<!-- 主结果显示 -->
|
<!-- 主结果显示 -->
|
||||||
<TextBlock x:Name="MainResultDisplay"
|
<Viewbox Stretch="Uniform" MaxWidth="360" MaxHeight="120">
|
||||||
Text="准备抽选..."
|
<TextBlock x:Name="MainResultDisplay"
|
||||||
FontSize="48"
|
Text="准备抽选..."
|
||||||
FontWeight="Bold"
|
FontSize="48"
|
||||||
Foreground="{DynamicResource QuickDrawWindowDigitForeground}"
|
FontWeight="Bold"
|
||||||
HorizontalAlignment="Center"
|
Foreground="{DynamicResource QuickDrawWindowDigitForeground}"
|
||||||
VerticalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
TextAlignment="Center"/>
|
VerticalAlignment="Center"
|
||||||
|
TextAlignment="Center"/>
|
||||||
|
</Viewbox>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
Reference in New Issue
Block a user