[Cuis-dev] [IMPROV] Pinned MenuMorphs in the Taskbar ...

Gerald Klix cuis.01 at klix.ch
Tue Sep 22 12:07:41 PDT 2020


Hi all, hi Juan,

all pinned Morphs have only the balloon help "MenuMorph" in the Taskbar; 
I consider this a
bit unhelpful.

Please find attached a MenuMorph>>label implementation to improve this 
issue.


HTH and Best Regards,

Gerald
-------------- next part --------------
'From Cuis 5.0 [latest update: #4362] on 22 September 2020 at 9:00:18 pm'!

!MenuMorph methodsFor: 'accessing' stamp: 'KLG 9/22/2020 20:59:54'!
label
	"Answer a nice label.
	
	Pinned menus in the taskbar are easier to identify on big screens."

	titleMorph ifNil: [ ^ super label ].
	titleMorph submorphsDo: [ :stringMorph |
		"Be careful"
		[ ^ stringMorph contents ] onDNU: #contents do: [] ].
	^ super label ":] One never knows"! !


More information about the Cuis-dev mailing list