Glamour: vertical action list presentation?

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

Glamour: vertical action list presentation?

jfabry
Hi all,

I used to have a list of vertical buttons in the old version of AspectMaps (Moose 4.3), but now it appears that I cannot have these buttons vertically.  I always get them horizontally, even if I add an isHorizontal: false, e.g. as in the code as below:

        (aBrowser transmit)
                to: #buttons; from: #models;
                andShow: [ :a |
                                        (a actionList) title: 'Structural Zoom';
                                                isHorizontal: false;
                                                populate: #selection on: $2 entitled: 'By Query'
                                                        with: (et cetera)

Is there a way to get my buttons stacked vertically? sending stackedVerticallyArrangement only works on the container of the buttons (the 'a' in the code above), not on the buttons themselves.

Thanks in advance,

---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Glamour: vertical action list presentation?

jfabry

To clarify: I cannot get the vertically stacked buttons in the moose-latest-dev-4.8 image (of today, but it was not working in older 4.8 dev images either).

On Aug 6, 2013, at 11:51 AM, Johan Fabry <[hidden email]> wrote:

> Hi all,
>
> I used to have a list of vertical buttons in the old version of AspectMaps (Moose 4.3), but now it appears that I cannot have these buttons vertically.  I always get them horizontally, even if I add an isHorizontal: false, e.g. as in the code as below:
>
> (aBrowser transmit)
> to: #buttons; from: #models;
> andShow: [ :a |
> (a actionList) title: 'Structural Zoom';
> isHorizontal: false;
> populate: #selection on: $2 entitled: 'By Query'
> with: (et cetera)
>
> Is there a way to get my buttons stacked vertically? sending stackedVerticallyArrangement only works on the container of the buttons (the 'a' in the code above), not on the buttons themselves.
>
> Thanks in advance,
>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Glamour: vertical action list presentation?

Andrei Chis
Had a look I do not think feature was ever implemented.
I'd add it now.


Andrei


On Tue, Aug 6, 2013 at 6:00 PM, Johan Fabry <[hidden email]> wrote:

To clarify: I cannot get the vertically stacked buttons in the moose-latest-dev-4.8 image (of today, but it was not working in older 4.8 dev images either).

On Aug 6, 2013, at 11:51 AM, Johan Fabry <[hidden email]> wrote:

> Hi all,
>
> I used to have a list of vertical buttons in the old version of AspectMaps (Moose 4.3), but now it appears that I cannot have these buttons vertically.  I always get them horizontally, even if I add an isHorizontal: false, e.g. as in the code as below:
>
>       (aBrowser transmit)
>               to: #buttons; from: #models;
>               andShow: [ :a |
>                                       (a actionList) title: 'Structural Zoom';
>                                               isHorizontal: false;
>                                               populate: #selection on: $2 entitled: 'By Query'
>                                                       with: (et cetera)
>
> Is there a way to get my buttons stacked vertically? sending stackedVerticallyArrangement only works on the container of the buttons (the 'a' in the code above), not on the buttons themselves.
>
> Thanks in advance,
>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Glamour: vertical action list presentation?

Andrei Chis
It should work now.
This code produces a list of vertical buttons:

browser := GLMTabulator new.
browser column: #one.
browser transmit to: #one; andShow: [ :a |
a actionList
title: 'Vertical buttons';
beVertical;
act: [:entity | entity inspect ] entitled: 'Inspect';
act: [:entity | entity browse ] entitled: 'Browse';
act: [:entity | entity explore ] entitled: 'Explore'].
 browser openOn: GLMBasicExamples.

Cheers,
Andrei


On Tue, Aug 6, 2013 at 6:36 PM, Andrei Vasile Chis <[hidden email]> wrote:
Had a look I do not think feature was ever implemented.
I'd add it now.


Andrei


On Tue, Aug 6, 2013 at 6:00 PM, Johan Fabry <[hidden email]> wrote:

To clarify: I cannot get the vertically stacked buttons in the moose-latest-dev-4.8 image (of today, but it was not working in older 4.8 dev images either).

On Aug 6, 2013, at 11:51 AM, Johan Fabry <[hidden email]> wrote:

> Hi all,
>
> I used to have a list of vertical buttons in the old version of AspectMaps (Moose 4.3), but now it appears that I cannot have these buttons vertically.  I always get them horizontally, even if I add an isHorizontal: false, e.g. as in the code as below:
>
>       (aBrowser transmit)
>               to: #buttons; from: #models;
>               andShow: [ :a |
>                                       (a actionList) title: 'Structural Zoom';
>                                               isHorizontal: false;
>                                               populate: #selection on: $2 entitled: 'By Query'
>                                                       with: (et cetera)
>
> Is there a way to get my buttons stacked vertically? sending stackedVerticallyArrangement only works on the container of the buttons (the 'a' in the code above), not on the buttons themselves.
>
> Thanks in advance,
>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Glamour: vertical action list presentation?

jfabry

Cool, I will try it on tomorrow's build. Thanks a lot!

On Aug 6, 2013, at 1:01 PM, Andrei Vasile Chis <[hidden email]> wrote:

> It should work now.
> This code produces a list of vertical buttons:
>
> browser := GLMTabulator new.
> browser column: #one.
> browser transmit to: #one; andShow: [ :a |
> a actionList
> title: 'Vertical buttons';
> beVertical;
> act: [:entity | entity inspect ] entitled: 'Inspect';
> act: [:entity | entity browse ] entitled: 'Browse';
> act: [:entity | entity explore ] entitled: 'Explore'].
>  browser openOn: GLMBasicExamples.
>
> Cheers,
> Andrei
>
>
> On Tue, Aug 6, 2013 at 6:36 PM, Andrei Vasile Chis <[hidden email]> wrote:
> Had a look I do not think feature was ever implemented.
> I'd add it now.
>
>
> Andrei
>
>
> On Tue, Aug 6, 2013 at 6:00 PM, Johan Fabry <[hidden email]> wrote:
>
> To clarify: I cannot get the vertically stacked buttons in the moose-latest-dev-4.8 image (of today, but it was not working in older 4.8 dev images either).
>
> On Aug 6, 2013, at 11:51 AM, Johan Fabry <[hidden email]> wrote:
>
> > Hi all,
> >
> > I used to have a list of vertical buttons in the old version of AspectMaps (Moose 4.3), but now it appears that I cannot have these buttons vertically.  I always get them horizontally, even if I add an isHorizontal: false, e.g. as in the code as below:
> >
> >       (aBrowser transmit)
> >               to: #buttons; from: #models;
> >               andShow: [ :a |
> >                                       (a actionList) title: 'Structural Zoom';
> >                                               isHorizontal: false;
> >                                               populate: #selection on: $2 entitled: 'By Query'
> >                                                       with: (et cetera)
> >
> > Is there a way to get my buttons stacked vertically? sending stackedVerticallyArrangement only works on the container of the buttons (the 'a' in the code above), not on the buttons themselves.
> >
> > Thanks in advance,
> >
> > ---> Save our in-boxes! http://emailcharter.org <---
> >
> > Johan Fabry   -   http://pleiad.cl/~jfabry
> > PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
>
>
>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev