pharo-spec / Spec

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

Can't change a toolbar color or border color #1522

Open ClotildeToullec opened 4 months ago

ClotildeToullec commented 4 months ago

This example shows a very nice toolbar, blending in the theme, no color whatsoever.

toolbar := SpToolbarPresenter new.
toolbar addItem:
    (SpToolbarButtonPresenter new 
        label: 'Button' ;
        color: Color blue;
        borderColor: Color yellow;
        borderWidth: 1;
        yourself).

toolbar 
    color: Color green;
    borderColor: Color red;
    borderWidth: 1.

toolbar open

Maybe it's the correct behavior? but in this case there is no way to know it.