Open koendehondt opened 1 week ago
Try this in a Playground:
application := SpApplication new addStyleSheetFromString: '.application [ .yellowBorder [ Draw { #backgroundColor: #green}, Container { #borderColor: #yellow, #borderWidth: 3 } ] ]'; yourself. presenter := SpPresenter newApplication: application. image := presenter newImage image: (self iconNamed: #grayCircle); addStyle: 'yellowBorder'; yourself. layout := SpBoxLayout newTopToBottom vAlignCenter; hAlignCenter; add: image; yourself. presenter layout: layout. presenter open
This snippet opens this window:
Expected and ok:
Expected, but not ok:
Try this in a Playground:
This snippet opens this window:
Expected and ok:
Expected, but not ok: