CharacterSetView.st
changeset 5951 8d21b8a2c8cc
parent 5692 2bfe4d034a7d
child 5984 ba363b1766e4
--- a/CharacterSetView.st	Sat Nov 10 00:20:36 2018 +0100
+++ b/CharacterSetView.st	Sat Nov 10 00:20:51 2018 +0100
@@ -646,20 +646,12 @@
 
 !CharacterSetView methodsFor:'queries'!
 
-preferredExtent
-    "/ If I have an explicit preferredExtent..
-    explicitExtent notNil ifTrue:[
-        ^ explicitExtent
-    ].
-
-    "/ If I have a cached preferredExtent value..
-    preferredExtent notNil ifTrue:[
-        ^ preferredExtent
-    ].
-
+computePreferredExtent
     ^ ((4 + (gc font widthOf:'W') + 4) * 16)
        @
       ((4 + (gc font heightOf:'W') + 4) * 16)
+
+    "Created: / 09-11-2018 / 19:47:35 / Claus Gittinger"
 ! !
 
 !CharacterSetView class methodsFor:'documentation'!