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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev SLICE-Issue-985-Splitters-in-tables-usmanbhatti.1.mcz (31K) Download Attachment |
I think the slice would not work without these mcz files. On Fri, Oct 18, 2013 at 12:44 PM, Usman Bhatti <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev Glamour-Presentations-usmanbhatti.122.mcz (26K) Download Attachment Glamour-Morphic-Renderer-usmanbhatti.210.mcz (70K) Download Attachment |
Thanks. I took a look, but I would not want to add columnInset and splitterColor in the Glamour table presentation because Glamour should ideally remain higher level. In particular splitterColor should not be the concern of Glamour. For now, I added a hardcoded columnInset to 3 in the renderer. Cheers, Doru
On Fri, Oct 18, 2013 at 6:21 PM, Usman Bhatti <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
On Sat, Oct 19, 2013 at 3:56 AM, Tudor Girba <[hidden email]> wrote:
Ok.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |