Try using <grid> instead of <frame>. If you want to use <frame>, also
set the filled-cell slot, eg:

{ 1 1 } >>filled-cell

Slava

On Sun, Aug 15, 2010 at 8:43 PM, Андрей Полищук <[email protected]> wrote:
> Hi
>
> I'm trying to make frame with four cells, and label in each cell in that way:
>
> MAIN-WINDOW: main-window { { title "[ gui - training ]" } }
>    { 256 256 } >>pref-dim 2 2 <frame>
>    { "A" "B" "C" "D" } [ <label> ] map
>    { { 0 0 } { 0 1 } { 1 0 } { 1 1 } }
>    [ grid-add ] 2each >>gadgets ;
>
> But that dont work, throwing
>  Sequence index out of bounds
>  index 0
>  seq   f
>
> Can someone please tell where's my mistake?
> I've found no examples of using frame in /extra/ - dir.
>
> Thanks
> Ander
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to