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:
Claude committed 2026-10-03 10:53:01 +00:00
1 parent 0e79763e90
commit a14059d5a5
1 file changed
+1 -1
+1 -1
View File
@@ -298,7 +298,7 @@
<Border Style="{StaticResource Border.Panel}" Padding="14,8" Margin="0,0,10,0" ToolTip="{Binding Caption}">
<StackPanel>
<!-- 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" />
</Viewbox>
<TextBlock Text="{Binding Caption}" Style="{StaticResource Text.Secondary}" TextWrapping="Wrap" />