[Pharo-users] GLM: preserving columns width in tables // getting the actual column

2018-10-04 Thread Arturo Zambrano
Hi All, I would like to preserve the width of columns for tables after a user has changed them (not fast tables, but it should be similar). To do this I plan to get the actual width of the columns and use it the next time I need to create the table. Please consider the following snippet: brows

Re: [Pharo-users] GLM: preserving columns width in tables // getting the actual column

2018-10-04 Thread Tudor Girba
Hi, There is no built-in support for something like this. You would have to change the internal logic of the TablePresentation renderer. Cheers, Doru > On Oct 4, 2018, at 7:16 PM, Arturo Zambrano wrote: > > Hi All, > I would like to preserve the width of columns for tables after a user has

Re: [Pharo-users] GLM: preserving columns width in tables // getting the actual column

2018-10-08 Thread Arturo Zambrano
Hi Tudor, all thanks for your reply. I would like your opinion about the cleanest way to add this considering that: - Columns are added in GLMMorphicListingRenderer>> treeMorphFor: tmpTreeModel and: aPresentation - GLMMorphTreeColumn implements currentWidth: and currentWidth Should I