Merge task: UI polish: ListBox Padding scroll clip, 4s log rebuild, ClassifyItems side effects
This commit is contained in:
@@ -91,15 +91,17 @@
|
||||
|
||||
<!-- Task list: one flat, virtualized ListBox. Rows is HeaderRow | TaskRowViewModel — group
|
||||
headers are regular entries, not a separate ItemsControl per section, so a
|
||||
VirtualizingStackPanel actually bounds the realized container count. -->
|
||||
VirtualizingStackPanel actually bounds the realized container count.
|
||||
Inset lives on the panel, NOT on the ListBox: Avalonia 12 leaves ScrollViewer.Padding
|
||||
out of the Extent, so at max scroll the last row would sit below the viewport and stay
|
||||
unreachable. -->
|
||||
<ListBox x:Name="RowsListBox"
|
||||
ItemsSource="{Binding Rows}"
|
||||
Background="Transparent"
|
||||
BorderThickness="0"
|
||||
Padding="10,4">
|
||||
BorderThickness="0">
|
||||
<ListBox.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<VirtualizingStackPanel/>
|
||||
<VirtualizingStackPanel Margin="10,4"/>
|
||||
</ItemsPanelTemplate>
|
||||
</ListBox.ItemsPanel>
|
||||
<ListBox.Styles>
|
||||
|
||||
Reference in New Issue
Block a user