Phillip Seaver
2009-05-21 20:54:47 UTC
I have a grid with a few columns. I'd like to autosize all except one
column, which would be expanded so that the grid fills the width of the
space available to it.
I've tried autosizing the columns manually and then calling
GetGridWindow().GetSize().GetWidth() to try to get the width of the
space the grid is in, but that returns a much smaller number than the
actual window width. I've also tried
GetGridWindow()->GetParent()->GetSize().GetWidth() but the number is
similar.
Has anyone done something like this?
Thanks,
Phillip
column, which would be expanded so that the grid fills the width of the
space available to it.
I've tried autosizing the columns manually and then calling
GetGridWindow().GetSize().GetWidth() to try to get the width of the
space the grid is in, but that returns a much smaller number than the
actual window width. I've also tried
GetGridWindow()->GetParent()->GetSize().GetWidth() but the number is
similar.
Has anyone done something like this?
Thanks,
Phillip