fix(ui): show the rail badge count; keep job row actions inside the table
The rail badge bound an int through TemplateBinding, which does not convert to text, so the pill was empty. The jobs table's fixed progress column pushed the row actions past the right edge at 1200 px; progress now shares the free width with the target column. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
2 files changed
+5
-5
No files matched your search
@@ -71,8 +71,8 @@
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="28" />
|
||||
<ColumnDefinition Width="120" />
|
||||
<ColumnDefinition Width="1.6*" MinWidth="160" />
|
||||
<ColumnDefinition Width="200" />
|
||||
<ColumnDefinition Width="1.6*" MinWidth="120" />
|
||||
<ColumnDefinition Width="*" MinWidth="120" MaxWidth="240" />
|
||||
<ColumnDefinition Width="90" />
|
||||
<ColumnDefinition Width="80" />
|
||||
<ColumnDefinition Width="110" />
|
||||
@@ -100,8 +100,8 @@
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="28" />
|
||||
<ColumnDefinition Width="120" />
|
||||
<ColumnDefinition Width="1.6*" MinWidth="160" />
|
||||
<ColumnDefinition Width="200" />
|
||||
<ColumnDefinition Width="1.6*" MinWidth="120" />
|
||||
<ColumnDefinition Width="*" MinWidth="120" MaxWidth="240" />
|
||||
<ColumnDefinition Width="90" />
|
||||
<ColumnDefinition Width="80" />
|
||||
<ColumnDefinition Width="110" />
|
||||
|
||||
@@ -1117,7 +1117,7 @@
|
||||
<ContentPresenter RecognizesAccessKey="True" />
|
||||
</TextBlock>
|
||||
<Border x:Name="Badge" Grid.Column="2" MinWidth="18" Height="16" CornerRadius="8" Padding="5,0" Background="{DynamicResource Brush.Accent}" VerticalAlignment="Center">
|
||||
<TextBlock Text="{TemplateBinding Badge}" FontSize="10" FontWeight="SemiBold" Foreground="{DynamicResource Brush.OnAccent}" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
<TextBlock Text="{Binding Badge, RelativeSource={RelativeSource TemplatedParent}}" FontSize="10" FontWeight="SemiBold" Foreground="{DynamicResource Brush.OnAccent}" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Border>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
Reference in new issue
Block a user