Hello,
Here is a slice for the bug 985 regarding splitters in glamour tables. It
should work with this script:
| wrapper |
wrapper := GLMWrapper new.
wrapper show: [:a |
a table
display: [ :x | 1 to: x ];
columnInset: 4;
splitterColor: Color red;
column: [:x | 'Numbers from 1 to ', x asString] evaluated: #asString;
column: 'Even' evaluated: [ :each | each even asString ];
column: 'Odd' evaluated: [ :each | each odd asString ] ].
wrapper openOn: 1000.
The idea is to provide the renderer with a columnInset number that acts as
a padding between splitters and the cell so that these both dont overlap.
we also tried to add the notion of splitter color but when embedding
widgets, the color of splitters is reset to transparent and that is beyond
the scope of this bug. we still retained the concept of splitter color
because it can be nice.
Drag and drop wont work with the slice as the mechanism is built to work
with Pharo inbox, instead import the slice with Monticello.
Usman & Rafael