Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl::Column size error
|
|
| Re: GridCtrl::Column size error [message #16830 is a reply to message #16829] |
Tue, 15 July 2008 23:16   |
|
|
|
if grid is displayed (the parent window is visible) each AddColumn causes recalculating column widths. Please before adding columns add grid.Ready(false) and after grid.Ready(true). That will solve your problems.
|
|
|
|
| Re: GridCtrl::Column size error [message #16831 is a reply to message #16830] |
Tue, 15 July 2008 23:24   |
|
|
In the next version (it's still in progress but many cool features will be there ) I will change calculating columns widths in proportional mode. In most cases grid is setup once before opening dialog/window. In early stage of gridctrl AddColumn did not cause repainting header but user expects it to do it - this is the problem - it's hard to create univesal and intuitive api without corner cases.
|
|
|
|
|
|
Goto Forum:
Current Time: Sun May 03 07:22:07 GMT+2 2026
Total time taken to generate the page: 0.03810 seconds
|