On Friday, September 02, 2011 01:33:40 pm Jacek Kałucki wrote:
> Hi.
> I have problem with grid controls containing expandable columns.
> This is form layout before maximizing
>       http://imageshack.us/photo/my-images/835/beforemaximize.jpg/
> and this after restoring form size
>       http://imageshack.us/photo/my-images/196/afterrestore.jpg/
> 
> When form size is restored containers with such grid retains its previous
> virtual size and doesn't shrink because grid columns width remains
> expanded. I noticed that it won't happen with pages with only one sizer.
> Have you an idea how to avoid this?

I recall running into a similar issue but I don't recall all the details.  As 
I recall I ended creating the grid using a class - used an instance of the 
class instead of just creating the grid inline for the sizer.   If my memory 
is correct it allowed the column sizes to be maintained when expanding and 
shrinking the form.  The user was able to set the columns and they held.

I hope that helps.

Johnf

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to