Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Width = * and Width = AUTO #10

Closed
Bush-cat opened this issue May 17, 2024 · 1 comment · Fixed by #19
Closed

Support Width = * and Width = AUTO #10

Bush-cat opened this issue May 17, 2024 · 1 comment · Fixed by #19
Labels
enhancement New feature or request
Milestone

Comments

@Bush-cat
Copy link

Is your feature request related to a problem? Please describe.
I used both with the Datagrid from CommunityToolkit.WinUI.UI.
Width = * made it use the full available space in the window, if you have two columns with Width = * they would each use half of the window
Width = Auto made the Column the samllest width it needed to fit the Text and Buttons

Describe the solution you'd like
Support both to work like other common controls as described above.

@Bush-cat Bush-cat added the enhancement New feature or request label May 17, 2024
@w-ahmad w-ahmad added this to the v1.3.0 milestone May 19, 2024
@w-ahmad w-ahmad modified the milestones: v1.3.0, v1.2.0 May 27, 2024
@uixiu
Copy link

uixiu commented Jun 1, 2024

Width="NaN" will auto resize the content column, but not the header column, which should be resized manually AFAIK.

Screenshot 2024-06-01 161656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants