工作栏添加缩放,支持显示更多内容

This commit is contained in:
ZouJin 2023-08-31 15:50:34 +08:00
parent 5a4e568e8a
commit 02d588e8e1
2 changed files with 11 additions and 9 deletions

View File

@ -28,12 +28,16 @@
<RowDefinition Height="4*" />
<RowDefinition Height="1.5*" />
</Grid.RowDefinitions>
<TextBlock x:Name="tNow" Foreground="{DynamicResource Foreground}" FontSize="36" FontWeight="Bold"
HorizontalAlignment="Right" VerticalAlignment="Center" Margin="5,0,5,0" Grid.ColumnSpan="2"
Text="当前已工作" />
<TextBlock x:Name="tNumber" Background="{x:Null}" Text="15.0" Grid.Row="1" FontSize="80"
FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"
Foreground="{DynamicResource Foreground}" />
<Viewbox HorizontalAlignment="Right" VerticalAlignment="Center" Margin="45,0,5,0" Grid.ColumnSpan="2">
<TextBlock x:Name="tNow" Foreground="{DynamicResource Foreground}" FontSize="36" FontWeight="Bold"
Text="当前已工作" />
</Viewbox>
<Viewbox Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock x:Name="tNumber" Background="{x:Null}" Text="15.0" FontSize="80" FontWeight="Bold"
Foreground="{DynamicResource Foreground}" />
</Viewbox>
<TextBlock x:Name="tNumberUnit" Text="分钟" Foreground="{DynamicResource Foreground}" Grid.Row="1"
Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,15"
FontSize="36" />
@ -52,5 +56,5 @@
Data="M3 2.9918C3 2.44405 3.44495 2 3.9934 2H20.0066C20.5552 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM19 11V4H5V11H19ZM19 13H5V20H19V13ZM9 6H15V8H9V6ZM9 15H15V17H9V15Z" />
</Button>
</Grid>
</Viewbox>

View File

@ -84,11 +84,9 @@ clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#爆金币了喵好开心
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#我是你叠!!!:|
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#o神怎么你了:|
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#热爱着做管人痴的你~:|
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#给桌宠找几个老头过来!:|
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#就算开盒我也没用喵~:|
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#谢谢洛里斯老板送的火箭喵:|
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#DD斩首~:|
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#跟榜一去旅游咯:|
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#好厚的血:|
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#我是清楚系主播喵:|
clicktext:|LikeMin#0:|State#Work:|Working#直播:|Text#西红柿炒蛋拳!:|