-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Pharo 13.
Consider this code:
application := SpApplication new
addStyleSheetFromString: '.application [
.coloredWidget [
Draw { #backgroundColor: #green},
Container { #borderColor: #red, #borderWidth: 3 } ]
]';
yourself.
presenter := SpPresenter newApplication: application.
button := presenter newButton
label: 'Test';
addStyle: 'coloredWidget';
yourself.
text := presenter newText.
layout := SpBoxLayout newTopToBottom
spacing: 10;
vAlignCenter;
hAlignCenter;
add: text;
add: button;
yourself.
presenter layout: layout.
presenter openThe text presenter is added only to ensure that the blue focus border is not applied to the button presenter. The text presenter is not important for the issue described in this ticket.
The code opens this window:
The button should have a red border of 3 pixels wide, but it does not. That is a bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels