On Wed, Mar 7, 2012 at 6:40 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Alexis
send it t the list so that we all learn.
sorry, bad reflex on my part I guess. So here they are, as changesets. SimpleGridExample : Generates a tabular view on Person instances where cells are editable. Modified to a) reduce the number of items to 100 (down from 1000 -- takes several seconds to build on my machine) b) set the age of the Person randomly (was just the value of the sequential counter over Persons) c) add a read-only text column with a comment about the age, one of the comments being rather long. As it stands, it uses "theme newTextIn:text:" in SimpleGridNodeExample>>ageComment and works OK. Replace it by "theme builder newLabel:" and see the effect I was describing. MixedTreeGridExample : A generalized version of what I was looking into, which is a tabular view with a hierarchy in the first column. I haven't made it clear in the example code, but it is possible to display tabular cells at *any* level of expansion, not only the last one. This now uses theme newTextIn:text: throughout and works exactly as intended. The code is commented. Regards, A.