Hi, I just installed latest glamour in a pharo 1.2. I creating a browser with a magritte presenter, and the magritte component doesn't fill the panel. This is the code:
buildBrowser | browser | browser := GLMTabulator new title: 'Builder'; row: #navigation; row: #edition; yourself. browser transmit to: #navigation; andShow: [ :presenter | presenter finder show: [ :eachPresenter | eachPresenter list title: [ :each | each asString ]; when: [ :each | each respondsTo: #allParticipants ]; display: #allParticipants. eachPresenter label when: [ :each | (each respondsTo: #allParticipants) not ] ] ]. browser transmit from: #navigation; to: #edition; andShow: [ :presenter | presenter magritte title: [ :each | each asString ] ]. ^browser
A screenshot of the result:
Any idea?
Cheers, Esteban
Thanks for reporting.
I tested it a bit, and the problem appears only when the presentation has a title. It is strange that the problem does not appear in other places as well. Please open a ticket. I will have to look into it.
Cheers, Doru
On 25 Feb 2011, at 17:23, Esteban Lorenzano wrote:
Hi, I just installed latest glamour in a pharo 1.2. I creating a browser with a magritte presenter, and the magritte component doesn't fill the panel. This is the code:
buildBrowser | browser |
browser := GLMTabulator new title: 'Builder'; row: #navigation; row: #edition; yourself.
browser transmit to: #navigation; andShow: [ :presenter | presenter finder show: [ :eachPresenter | eachPresenter list title: [ :each | each asString ]; when: [ :each | each respondsTo: #allParticipants ]; display: #allParticipants. eachPresenter label when: [ :each | (each respondsTo: #allParticipants) not ] ] ]. browser transmit from: #navigation; to: #edition; andShow: [ :presenter | presenter magritte title: [ :each | each asString ] ]. ^browser
A screenshot of the result:
<Captura de pantalla 2011-02-25 a las 13.22.26.png>
Any idea?
Cheers, Esteban_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Yesterday is a fact. Tomorrow is a possibility. Today is a challenge."
Ok, I see now that the problem appears when embedding the GeneralScrollPane into a Tab.
Here is how to reproduce it in a different configuration:
browser := GLMTabulator new. browser column: #test. finder := GLMFinder new variableSizePanes title: 'test'. finder list display: [:x | 1 to: x ]. browser transmit to: #test; andShow: [:a | a custom: finder ]. browser openOn: 20
Cheers, Doru
On 25 Feb 2011, at 21:12, Tudor Girba wrote:
Thanks for reporting.
I tested it a bit, and the problem appears only when the presentation has a title. It is strange that the problem does not appear in other places as well. Please open a ticket. I will have to look into it.
Cheers, Doru
On 25 Feb 2011, at 17:23, Esteban Lorenzano wrote:
Hi, I just installed latest glamour in a pharo 1.2. I creating a browser with a magritte presenter, and the magritte component doesn't fill the panel. This is the code:
buildBrowser | browser |
browser := GLMTabulator new title: 'Builder'; row: #navigation; row: #edition; yourself.
browser transmit to: #navigation; andShow: [ :presenter | presenter finder show: [ :eachPresenter | eachPresenter list title: [ :each | each asString ]; when: [ :each | each respondsTo: #allParticipants ]; display: #allParticipants. eachPresenter label when: [ :each | (each respondsTo: #allParticipants) not ] ] ]. browser transmit from: #navigation; to: #edition; andShow: [ :presenter | presenter magritte title: [ :each | each asString ] ]. ^browser
A screenshot of the result:
<Captura de pantalla 2011-02-25 a las 13.22.26.png>
Any idea?
Cheers, Esteban_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Yesterday is a fact. Tomorrow is a possibility. Today is a challenge."
-- www.tudorgirba.com
"Being happy is a matter of choice."