Hi,
This is a bug. Please open a bug report.
If you use text instead of icons, it works:
| browser |
browser := GLMTabulator new.
browser
row: [ :r | r column: #columnA; column: #columnB ].
browser transmit to: #columnA; andShow: [ :a |
a list display: [" :model | "#('Value 1' 'Value 2'
'Value 3' 'Value 1') ]
].
browser transmit from: #columnA; to: #columnB; andShow: [ :a |
a list title:'Browse'; display:#('data A' 'data B'
'data C').
a text title: 'Accept'; display:'something'.
a text title: 'Add'; display:'add something'.
].
browser openOn: MooseModel root allModels anyOne.
Cheers,
Doru
On 26 Jan 2012, at 16:19, Santiago Vidal wrote:
Hi,
I'm running the following script:
| browser |
browser := GLMTabulator new.
browser
row: [ :r | r column: #columnA; column: #columnB ].
browser transmit to: #columnA; andShow: [ :a |
a list display: [" :model | "#('Value 1' 'Value 2'
'Value 3' 'Value 1') ]
].
browser transmit from: #columnA; to: #columnB; andShow: [ :a |
a list titleIcon: GLMUIThemeExtraIcons glamorousBrowse;
display:#('data A' 'data B' 'data C').
a text titleIcon: GLMUIThemeExtraIcons glamorousAccept;
display:'something'.
a text titleIcon: GLMUIThemeExtraIcons glamorousAdd; display:'add
something'.
].
browser openOn: MooseModel root allModels anyOne.
The problem is that after selecting a value in columnA the columnB is opened in the last
tab (the one with the glamorousAdd icon). I want the first tab (the one with the
glamorousBrowse icon) to be opened instead. How can I do that?
Thanks in advance.
Cheers,
Santiago
--
Santiago Vidal
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"To lead is not to demand things, it is to make them happen."