Spec icon indicating copy to clipboard operation
Spec copied to clipboard

Raise an exception when the style does not exist

Open olekscode opened this issue 4 years ago • 0 comments

Example to reproduce

presenter := SpPresenter new.
presenter application: (app := SpApplication new).

presenter layout: (SpBoxLayout newTopToBottom
	add: (label := presenter newLabel);
	yourself).
	
label label: 'Hello Moose people!'.
label addStyle: 'nonExistingStyle'.

presenter openWithSpec.

This should raise an error that a nonExistingStyle is missing

olekscode avatar Oct 14 '21 12:10 olekscode