Skip to content

Commit

Permalink
spotter font should take default size from standard font (to not prod…
Browse files Browse the repository at this point in the history
…uce a problem when being changed)
  • Loading branch information
estebanlm committed Jul 12, 2021
1 parent 51f2835 commit 52346c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ StSpotterStyleContributor >> styleSheetContribution [
addPropertyDrawWith: [ :draw | draw color: Color transparent ];
addPropertyTextWith: [ :text | text drawKeyboardFocus: false ];
addPropertyGeometryWith: [ :geometry | geometry minHeight: 35; vResizing: false ];
addPropertyFontWith: [ :font | font size: 12 ] ] ];
addPropertyFontWith: [ :font | font size: (StandardFonts defaultFont pointSize * 1.2) asInteger ] ] ];
addClass: 'text' with: [ :class | class
addClass: 'stSpotterPreview' with: [ :spotter | spotter
addPropertyDrawWith: [ :draw | draw color: Color transparent ] ] ];
Expand Down

0 comments on commit 52346c0

Please sign in to comment.