In the example I gave with TreeColumn/MorphTreeColumn the block used to render the item can return anything understanding #asMorph. So you can easily return any Morph you like there :) Ben On 08 Nov 2013, at 12:18, prova email <prova213@hotmail.it> wrote:
Hi Clement;
I did the Spec tuto made by Bahman (great tuto). As him, i'd like to put some widgets into it. Is it possible? Maybe with the method "items:"? I don't know if the solution that Ben give to us (use Morphic instead of Spec) is suitable, that's because his UI looks like a list that accept only string. Maybe i'm wrong, can you give us more explanations? Or is it something new for you too?
Thanks for your help! Paolo
From: bera.clement@gmail.com Date: Thu, 7 Nov 2013 10:04:51 +0100 To: Bahman@bahmanm.com; pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Spec - Grid/Table Layout
Hello,
Actually I had the same problem, I think the best widget that exists for that right now is MultiColumnListModel.
For example, in the senders window (in attachment), the top panel is a MultiColumnListModel. You can have as many lines and as many columns as you want.
We do not have yet a tableLayout, but we miss it. If you plan to implement it, we will be interested in integrating it into Pharo.
Ben can advise you on how to implement that.
<Screen Shot 2013-11-07 at 10.00.55 AM.png>
2013/11/7 Bahman Movaqar <Bahman@bahmanm.com> Hi all,
Is there a grid/table layout available in Spec? Something like an HTML table or Swing's GridLayout? If not, how may I achieve such a functionality?
I'd appreciate any hints/pointers.
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)