Cheers,
Doru
On Fri, Oct 18, 2013 at 6:21 PM, Usman Bhatti <usman.bhatti(a)gmail.com>wrote;wrote:
I think the slice would not work without these
mcz files.
On Fri, Oct 18, 2013 at 12:44 PM, Usman Bhatti <usman.bhatti(a)gmail.com>wrote;wrote:
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
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch