[Seaside] How add some space

Dalarna Ors dalarna1907 at gmail.com
Thu Feb 27 05:30:12 UTC 2014


Hi,

Thank you for your answer.
Do I need to split the STMenuComponent in 2 part to add the space then ?

//Dal.


On Wed, Feb 26, 2014 at 8:04 PM, Johan Brichau <johan at inceptive.be> wrote:

> Dalarna,
>
> A space is typically generated in Seaside as follows:
>
>         html html: ' '.
>
> Unless you need a non-breaking space:
>
>         html space.
>
> But you will have to put that somewhere else in the code of
> STMenuComponent, and not in the code snippet you show below.
>
> Hope it helps
> Johan
>
> On 26 Feb 2014, at 19:25, Dalarna Ors <dalarna1907 at gmail.com> wrote:
>
> > Hi,
> >
> > I want to have some space between "New Task" and "Logout" how should I
> do ?
> >
> > initializeMenuComponent
> >
> >       self menuComponent:(StMenuComponent new
> >               addEntry: 'All' withAction: [self showAllTasks];
> >               addEntry: 'Completed' withAction: [self
> showCompletedTasks];
> >               addEntry: 'Pending' withAction: [self showPendingTasks];
> >               addEntry: 'Missed' withAction: [self showMissedTasks];
> >               addEntry: 'New Task' withAction: [self createNewTask.
>  ];
> >               addEntry: 'Logout' withAction: [self session logout. self
> answer: true];
> >               yourself).
> >
> >
> >
> >
> > Best Regards
> > //Dal
> >
> >
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20140227/52f83955/attachment.htm


More information about the seaside mailing list