Spec - vertically stacked Menu(Group)Model
Is it possible to force MenuModel to display its groups (and group's items) vertically instead of horizontally? The use case is having button palette to click on. Both world menu and subMenu of MenuItemModel render it this way but it is all hidden in the depths of Morphic. Is there any way how to switch this behavior at Spec level? (Or should I make it from scratch?) Peter
It is not yet supported, sorry :s Feel free to propose a solution to this :) Ben On 17 Jul 2014, at 18:24, Peter Uhnák <i.uhnak@gmail.com> wrote:
Is it possible to force MenuModel to display its groups (and group's items) vertically instead of horizontally? The use case is having button palette to click on. Both world menu and subMenu of MenuItemModel render it this way but it is all hidden in the depths of Morphic. Is there any way how to switch this behavior at Spec level? (Or should I make it from scratch?)
Peter
Well, is this something that should be done on top of the existing solution, or should be Morphic be pushed away and use only Spec? Or just use Morphic for the very last item - Button and the rest with Spec? Currently every Menu[Group|Item]Model has it's morphic counterpart, but I'm not familiar with future of Morphic. Are we trying to get rid of it or just use an abstraction on top of it (Spec)? On Thu, Jul 17, 2014 at 6:47 PM, Benjamin < benjamin.vanryseghem.pharo@gmail.com> wrote:
It is not yet supported, sorry :s
Feel free to propose a solution to this :)
Ben
On 17 Jul 2014, at 18:24, Peter Uhnák <i.uhnak@gmail.com> wrote:
Is it possible to force MenuModel to display its groups (and group's items) vertically instead of horizontally? The use case is having button palette to click on. Both world menu and subMenu of MenuItemModel render it this way but it is all hidden in the depths of Morphic. Is there any way how to switch this behavior at Spec level? (Or should I make it from scratch?)
Peter
If you can add some Spec behaviour to match the morphic one, then itâs ok :) Ben On 17 Jul 2014, at 19:03, Peter Uhnák <i.uhnak@gmail.com> wrote:
Well, is this something that should be done on top of the existing solution, or should be Morphic be pushed away and use only Spec? Or just use Morphic for the very last item - Button and the rest with Spec? Currently every Menu[Group|Item]Model has it's morphic counterpart, but I'm not familiar with future of Morphic. Are we trying to get rid of it or just use an abstraction on top of it (Spec)?
On Thu, Jul 17, 2014 at 6:47 PM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote: It is not yet supported, sorry :s
Feel free to propose a solution to this :)
Ben
On 17 Jul 2014, at 18:24, Peter Uhnák <i.uhnak@gmail.com> wrote:
Is it possible to force MenuModel to display its groups (and group's items) vertically instead of horizontally? The use case is having button palette to click on. Both world menu and subMenu of MenuItemModel render it this way but it is all hidden in the depths of Morphic. Is there any way how to switch this behavior at Spec level? (Or should I make it from scratch?)
Peter
But in general, is Morphic planned to be discontinued (fully replaced with Athens?) or just live as the bottom layer? On Thu, Jul 17, 2014 at 7:06 PM, Benjamin < benjamin.vanryseghem.pharo@gmail.com> wrote:
If you can add some Spec behaviour to match the morphic one, then itâs ok :)
Ben
On 17 Jul 2014, at 19:03, Peter Uhnák <i.uhnak@gmail.com> wrote:
Well, is this something that should be done on top of the existing solution, or should be Morphic be pushed away and use only Spec? Or just use Morphic for the very last item - Button and the rest with Spec? Currently every Menu[Group|Item]Model has it's morphic counterpart, but I'm not familiar with future of Morphic. Are we trying to get rid of it or just use an abstraction on top of it (Spec)?
On Thu, Jul 17, 2014 at 6:47 PM, Benjamin < benjamin.vanryseghem.pharo@gmail.com> wrote:
It is not yet supported, sorry :s
Feel free to propose a solution to this :)
Ben
On 17 Jul 2014, at 18:24, Peter Uhnák <i.uhnak@gmail.com> wrote:
Is it possible to force MenuModel to display its groups (and group's items) vertically instead of horizontally? The use case is having button palette to click on. Both world menu and subMenu of MenuItemModel render it this way but it is all hidden in the depths of Morphic. Is there any way how to switch this behavior at Spec level? (Or should I make it from scratch?)
Peter
On 17 Jul 2014, at 19:10, Peter Uhnák <i.uhnak@gmail.com> wrote:
But in general, is Morphic planned to be discontinued (fully replaced with Athens?) or just live as the bottom layer?
No. Athens is not a replacement for Morphic, but to the drawing canvas that Morphic (or any graphical object) uses. So, it is in a lower level than Morphic. Esteban
On Thu, Jul 17, 2014 at 7:06 PM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote: If you can add some Spec behaviour to match the morphic one, then itâs ok :)
Ben
On 17 Jul 2014, at 19:03, Peter Uhnák <i.uhnak@gmail.com> wrote:
Well, is this something that should be done on top of the existing solution, or should be Morphic be pushed away and use only Spec? Or just use Morphic for the very last item - Button and the rest with Spec? Currently every Menu[Group|Item]Model has it's morphic counterpart, but I'm not familiar with future of Morphic. Are we trying to get rid of it or just use an abstraction on top of it (Spec)?
On Thu, Jul 17, 2014 at 6:47 PM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote: It is not yet supported, sorry :s
Feel free to propose a solution to this :)
Ben
On 17 Jul 2014, at 18:24, Peter Uhnák <i.uhnak@gmail.com> wrote:
Is it possible to force MenuModel to display its groups (and group's items) vertically instead of horizontally? The use case is having button palette to click on. Both world menu and subMenu of MenuItemModel render it this way but it is all hidden in the depths of Morphic. Is there any way how to switch this behavior at Spec level? (Or should I make it from scratch?)
Peter
Ok, thank you both. On Thu, Jul 17, 2014 at 7:16 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
On 17 Jul 2014, at 19:10, Peter Uhnák <i.uhnak@gmail.com> wrote:
But in general, is Morphic planned to be discontinued (fully replaced with Athens?) or just live as the bottom layer?
No. Athens is not a replacement for Morphic, but to the drawing canvas that Morphic (or any graphical object) uses. So, it is in a lower level than Morphic.
Esteban
On Thu, Jul 17, 2014 at 7:06 PM, Benjamin < benjamin.vanryseghem.pharo@gmail.com> wrote:
If you can add some Spec behaviour to match the morphic one, then itâs ok :)
Ben
On 17 Jul 2014, at 19:03, Peter Uhnák <i.uhnak@gmail.com> wrote:
Well, is this something that should be done on top of the existing solution, or should be Morphic be pushed away and use only Spec? Or just use Morphic for the very last item - Button and the rest with Spec? Currently every Menu[Group|Item]Model has it's morphic counterpart, but I'm not familiar with future of Morphic. Are we trying to get rid of it or just use an abstraction on top of it (Spec)?
On Thu, Jul 17, 2014 at 6:47 PM, Benjamin < benjamin.vanryseghem.pharo@gmail.com> wrote:
It is not yet supported, sorry :s
Feel free to propose a solution to this :)
Ben
On 17 Jul 2014, at 18:24, Peter Uhnák <i.uhnak@gmail.com> wrote:
Is it possible to force MenuModel to display its groups (and group's items) vertically instead of horizontally? The use case is having button palette to click on. Both world menu and subMenu of MenuItemModel render it this way but it is all hidden in the depths of Morphic. Is there any way how to switch this behavior at Spec level? (Or should I make it from scratch?)
Peter
participants (3)
-
Benjamin -
Esteban Lorenzano -
Peter Uhnák