Hi,
In any BorderedMorph (say a Rectangle), popup the border .. menu, click its pinup. Both border menu and its parent menu stays up. If any button on border menu is clicked, both the menus disappear. I find this very annoying. If I want to experiment with different border styles, I have to dig into the halo menu all over or stick both the border and its parent menu up.
Did I miss an easier way to keep such menus up? I prefer the doPopUp style menus of items like "new morph...".
TIA .. Subbu
subbukk wrote:
Hi,
In any BorderedMorph (say a Rectangle), popup the border .. menu, click its pinup. Both border menu and its parent menu stays up. If any button on border menu is clicked, both the menus disappear. I find this very annoying. If I want to experiment with different border styles, I have to dig into the halo menu all over or stick both the border and its parent menu up.
Did I miss an easier way to keep such menus up? I prefer the doPopUp style menus of items like "new morph...".
TIA .. Subbu _______________________________________________ Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
There seems to be a issue where the menu owning the submenu ignores the pinup setting. Karl
I fixed the issue here with a check for stayUp in active submenu. Karl
karl wrote:
subbukk wrote:
Hi,
In any BorderedMorph (say a Rectangle), popup the border .. menu, click its pinup. Both border menu and its parent menu stays up. If any button on border menu is clicked, both the menus disappear. I find this very annoying. If I want to experiment with different border styles, I have to dig into the halo menu all over or stick both the border and its parent menu up.
Did I miss an easier way to keep such menus up? I prefer the doPopUp style menus of items like "new morph...".
'From etoys2.2 of 21 September 2007 [latest update: #1689] on 7 October 2007 at 10:16:38 pm'!
!MenuMorph methodsFor: 'initialization' stamp: 'kfr 10/7/2007 22:14'! delete "Delete the receiver."
activeSubMenu ifNotNil: [activeSubMenu stayUp ifFalse:[activeSubMenu delete]]. self isFlexed ifTrue: [^ owner delete]. ^ super delete! !
Yet another fix to the fix :-) Karl
karl wrote:
I fixed the issue here with a check for stayUp in active submenu. Karl
karl wrote:
subbukk wrote:
Hi,
In any BorderedMorph (say a Rectangle), popup the border .. menu, click its pinup. Both border menu and its parent menu stays up. If any button on border menu is clicked, both the menus disappear. I find this very annoying. If I want to experiment with different border styles, I have to dig into the halo menu all over or stick both the border and its parent menu up.
Did I miss an easier way to keep such menus up? I prefer the doPopUp style menus of items like "new morph...".
Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
'From etoys2.2 of 21 September 2007 [latest update: #1689] on 7 October 2007 at 10:25:08 pm'!
!MenuMorph methodsFor: 'control' stamp: 'kfr 10/7/2007 22:21'! activeSubmenu: aSubmenu activeSubMenu ifNotNil:[activeSubMenu stayUp ifFalse:[activeSubMenu delete]]. activeSubMenu _ aSubmenu.! !
!MenuMorph methodsFor: 'initialization' stamp: 'kfr 10/7/2007 22:24'! delete "Delete the receiver."
activeSubMenu ifNotNil: [activeSubMenu stayUp ifFalse:[activeSubMenu delete]]. self isFlexed ifTrue: [^ owner delete]. ^ super delete! !
On Sun, Oct 07, 2007 at 10:47:30PM +0200, karl wrote:
Yet another fix to the fix :-) Karl
http://bugs.squeak.org/view.php?id=6708
etoys-dev@lists.squeakfoundation.org