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
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@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@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
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@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@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@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside mailing list seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside@lists.squeakfoundation.org