Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 807 by santiago...@gmail.com: Populating menu in Roassal visualization in Glamour doesn't work http://code.google.com/p/moose-technology/issues/detail?id=807
Roassal doesn't populate a menu in Glamour. For example, using the example of GLMBasicExamples>>roassalPainting I want to add a menu in the view using 'ROEaselMorphic new populateMenuOn: view'. While a small scrolling is done (to not have the buttons over the nodes) the buttons aren't shown.
| browser | browser := GLMTabulator withStatusbar. browser column: #one; column: #two. browser transmit to: #one; andShow: [ :a | a list title: 'Select and trigger from menu'; display: [:x | 1 to: x ]; selectionAct: [:list | | value | value := list selection * 10. "simulate some custom setup" (list pane port: #customSelection) value: value ] entitled: 'Multiply by 10 and then send outside' ]. browser transmit to: #two; from: #one port: #customSelection; andShow: [ :a | a roassal title: 'Numbers in Roassal'; painting: [:view :number | view shape label. view nodes: (1 to: number). view edgesFrom: [:each | each // 5 ]. view treeLayout. ROEaselMorphic new populateMenuOn: view. ]]. browser openOn: 42