Skip to content

DataGridSortIconMinWidth taking up space when I attempt to center a label in the datagrid header #214

@andrewwong0893

Description

@andrewwong0893

My DataGrid header is relatively small so the issue is obvious. When I center a label in the header, the DataGridSortIconMinWidth value of 32 takes up the right side space even though I set the CanUserSortColumns to false. So now all my column headers technically has 2 columns, my content and a size of 32 for the sort icon which doesn't exist for me.

Image

Is there a way to get rid of the minwidth value when I set the CanUserSortColumns to false?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions