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

GridColumn fill space? #822

Closed
TomQv opened this issue Jun 9, 2017 · 4 comments · Fixed by #1881
Closed

GridColumn fill space? #822

TomQv opened this issue Jun 9, 2017 · 4 comments · Fixed by #1881
Milestone

Comments

@TomQv
Copy link

TomQv commented Jun 9, 2017

Is there a way to get a GriColumns Width expanded or filled to all remaining space of the GridView?

@cwensley
Copy link
Member

cwensley commented Jun 9, 2017

Not yet, though this has come up as a request a few times. Thanks for the report!

@cwensley cwensley added this to the 2.x milestone Jun 9, 2017
@harry-cpp
Copy link
Contributor

I actually had the same request for TreeGridView xD

@TomQv
Copy link
Author

TomQv commented Aug 3, 2017

I'm just trying to do a workaround for the missing FillSpaceWidth-property of a column.
In the SizeChanged-Event of the TreeGridView I just resize the columns manually.
Unfortunately this only works with WPF, on macOS the SizeChanged-Event is not fired :(

@MeestorX
Copy link

Just FYI, the form.SizeChanged Event works. I used that as a workaround. I created a fill function, but the column widths between Windows and Mac are very different, also need to find a way to allow for when there's a vertical scrollbar. I can't see any property in the grid that indicates when the scrollbar is showing or how many pixels wide it is... Still some work to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants