[Seaside] How add some space

Johan Brichau johan at inceptive.be
Wed Feb 26 19:04:57 UTC 2014


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



More information about the seaside mailing list