Header Count in Model
---------------------------------

I've been working on this and think I may have come across a bug - I
have unfortunately worked round it and don't have simple code to
exploit it .... (sorry)

Anyway the scenario is refreshing a Model - in this scenario I clear()
the model and then repopulate it.

The bug seems to be that the header count is not reset - so when you
add the columns again it tries to add headers with the wrong index
(e.g. with 6 columns, I would see (in the back trace) reference to
adding headers 7-11).

My workaround was to delete the model and start again.

Column 0 Header
-------------------------

Also, I have an ongoing issue with the format of headers in column 0.
It seems to me that setting the column 0 width does not work - it
always takes the remaining space. Also on IE6 if the column (or
perhaps table width I think) is less that around 250 then the header
title is lost as the header width is rendered very small.

And finally where a table is added and removed from a container
(scenario: different menu options are selected and I am displaying
different content) - then column 0 header text is not rendered the
second (or perhaps third) time.

I am still testing this header stuff and hope to give you an update shortly.

Suggestions
------------------
- I do not use CSS but rather want to use the layout managers. What I
find a bit confusing is should I be using resize() which seems to work
but mentions that it is for CSS, or should I use setminimumsize() -
which does not seem to work sometime (might just be me). Perhaps some
clearer guidance could be added to the doc?

- I understand why you have done it this way but I find it strange to
add the headers in the Model - I feel that the header text should be
in the [tree] view.

Cheers

Adrian

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to