Użytkownik Ed Leafe napisał:
>> I know what's it purpose (or should), but my problem is
>> that automatic adjustment resize column too much,
>> so last column in grid becomes partially hidden and additionally,
>> I can only increase size expanded column manually,
>> not decrease in any way. So I'm asking if it's correct?
>>      
>
>       There are some cases where the events from expanding column widths 
> don't fire in the expected order; doing an additional layout() call or 
> slightly resizing the form is needed to get the Expand column to reduce its 
> width, but I haven't spent much time investigating this.
>
>    

I investigated this issue a bit and noticed that after each
wx.grid.EVT_GRID_COL_SIZE event, wx.EVT_SIZE
occurs which calls _updateColumnWidths() method and
resets interactive size changes :(
I expected that wx.EVT_SIZE is raised only when entire
grid window size is changed.

-- 
Regards
Jacek Kałucki

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

Reply via email to