pharo-spec / Spec

Spec is a framework in Pharo for describing user interfaces.
MIT License
61 stars 63 forks source link

SpNotebookPage>>#beCloseable seems to have no effect #1519

Open ClotildeToullec opened 4 months ago

ClotildeToullec commented 4 months ago

More specifically, it does not seem to make the page closeable (i.e. having the small x button).

To reproduce:

notebook := SpNotebookPresenter new.

notebookPage := SpNotebookPage 
            title: 'Uncloseable' 
            provider: [ notebook newButton
                    label: 'Make closeable';
                    action: [ notebookPage
                    title: 'Closeable';
                    beCloseable ];
                    yourself ].

notebook addPage: notebookPage.
notebook open

Behavior observed in P11 and P12.