fix(app): figure tiles scale their value only to the tile's width
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
1 file changed
+1
-1
@@ -298,7 +298,7 @@
|
|||||||
<Border Style="{StaticResource Border.Panel}" Padding="14,8" Margin="0,0,10,0" ToolTip="{Binding Caption}">
|
<Border Style="{StaticResource Border.Panel}" Padding="14,8" Margin="0,0,10,0" ToolTip="{Binding Caption}">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<!-- A narrow tile (the window at its minimum width) shrinks the figure rather than cutting it. -->
|
<!-- A narrow tile (the window at its minimum width) shrinks the figure rather than cutting it. -->
|
||||||
<Viewbox StretchDirection="DownOnly" HorizontalAlignment="Left" Height="32">
|
<Viewbox StretchDirection="DownOnly" HorizontalAlignment="Left">
|
||||||
<TextBlock Text="{Binding Value}" FontSize="24" FontWeight="SemiBold" Typography.NumeralAlignment="Tabular" />
|
<TextBlock Text="{Binding Value}" FontSize="24" FontWeight="SemiBold" Typography.NumeralAlignment="Tabular" />
|
||||||
</Viewbox>
|
</Viewbox>
|
||||||
<TextBlock Text="{Binding Caption}" Style="{StaticResource Text.Secondary}" TextWrapping="Wrap" />
|
<TextBlock Text="{Binding Caption}" Style="{StaticResource Text.Secondary}" TextWrapping="Wrap" />
|
||||||
|
|||||||
Reference in new issue
Block a user