Hey,

I don't know what you want exactly.

You can do:

spec
<spec>
^ SpecLayout composed
newRow: [:row |
 row
                                newColumn: [ :col |
                                col
add: #list width: 135;
 add: #description ] ];
yourself

and nest that as many times as you want (but I don't know if this was your
question).

Another feature is:

debuggerSpec
<spec: #default>
^ SpecLayout composed
 add: #inspector withSpec: #debuggerSpec;
yourself

#inspector being the instance variable name that holds a subclass of
ComposableModel that defines class side #debuggerSpec, which answers a
SpecLayout.

Not sure if this helped.

All of these questions are for your tutorials ?




2013/11/7 Bahman Movaqar <bah...@bahmanm.com>

> Hi all,
>
> Is it possible to nest layouts in Spec?  For example can I combine
> `SpecColumnLayout` and `SpecRowLayout` together?
>
> TIA,
>
> --
> Bahman Movaqar  (http://BahmanM.com)
>
> ERP Evaluation, Implementation & Deployment Consultant
> PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
>
>
>

Reply via email to