fix: dashboard Details button no longer clipped (v0.3.1)

Trailing DataGridTemplateColumn had Width="Auto"; against the 2* star columns
it collapsed on first layout, clipping the Details button to a sliver. Pin to
Width="120" so the button always fits.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
dtrentin 2026-07-22 08:58:50 +02:00
parent ec6bc2f06f
commit d84f8a818a

View file

@ -71,7 +71,9 @@
Width="Auto" Width="Auto"
x:DataType="vm:MachineRowViewModel" /> x:DataType="vm:MachineRowViewModel" />
<DataGridTemplateColumn Header="" Width="Auto"> <!-- Fixed width: a trailing Auto column collapses against the 2* star columns,
clipping the Details button to a sliver on first layout. -->
<DataGridTemplateColumn Header="" Width="120">
<DataGridTemplateColumn.CellTemplate> <DataGridTemplateColumn.CellTemplate>
<DataTemplate x:DataType="vm:MachineRowViewModel"> <DataTemplate x:DataType="vm:MachineRowViewModel">
<Button Content="Details" <Button Content="Details"