Avalonia.Controls.TreeDataGrid icon indicating copy to clipboard operation
Avalonia.Controls.TreeDataGrid copied to clipboard

Resizing columns does not work within a container with padding

Open DevAM-Tools opened this issue 1 year ago • 0 comments

When the user increases the size of a column to the maximum all columns right of this columns gets out of view and the user loses the ability to shrink the column. This seems to appear only when the TreeDataGrid is the child of a container with Padding.

<Border
	Padding="10">
	<TreeDataGrid
	    Name="MyTreeDataGrid"
	    Source="{Binding MyTreeDataGridSource}" />
</Border>

https://github.com/user-attachments/assets/c8af3f95-0be3-4be6-a314-dbfa9395d3c7

Witout Padding:

https://github.com/user-attachments/assets/4af1ef6e-2e48-4a4b-86ac-809ef17f445c

DevAM-Tools avatar Apr 23 '25 13:04 DevAM-Tools