How add some space

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How add some space

Dalarna Ors
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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How add some space

Johan Brichau-2
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 <[hidden email]> 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
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How add some space

Dalarna Ors
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 <[hidden email]> 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 <[hidden email]> 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
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside