-
-
Notifications
You must be signed in to change notification settings - Fork 335
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
Autostretch last column of GridViews to fill empty space #718
Comments
Thanks for submitting the issue! It would be good if it were not just the last column, but the ability to specify which column(s) should fill the remaining space. |
Only the last column can fill the remaining space, anything but that would create a lot, and I say A LOT of problems regarding how bottom scrollbar functions and how the other grid columns react to resizing some columns. |
It's not impossible to do, but I do think it's gonna be hard, reason being is that you have an AutoSize property which expands the cell enough so everything in it is visible, but if you set that cell property to also fill empty space, in WPF those are 2 different sizing markers so you come to a problem with the face that you can follow only one of those, but you need both for something like TreeGridView. |
But what about ability to set the column widths? And maybe by reflection lastColumn.width = grid.width - otherColums.width? |
It would be nice if the last column of
GridView
andTreeGridView
got stretched to fill the remaining space like on the other platforms, right now it looks rather silly:The text was updated successfully, but these errors were encountered: