Closed koendehondt closed 4 months ago
Consider this code:
| mainLayout mainPresenter label | mainPresenter := SpPresenter new. label := mainPresenter newLabel label: 'Test'; displayColor: [ Color red ]; displayBackgroundColor: [ Color yellow ]. mainLayout := SpBoxLayout newLeftToRight add: label expand: false; yourself. mainPresenter layout: mainLayout; open
It opens this window:
The red text is as expected.
But the background color of the label should be yellow, but apparently displayBackgroundColor: [ Color yellow ] has no effect.
displayBackgroundColor: [ Color yellow ]
meh, Text background and LabelMorphs are not playing very good together
Consider this code:
It opens this window:
The red text is as expected.
But the background color of the label should be yellow, but apparently
displayBackgroundColor: [ Color yellow ]
has no effect.