reset have to ask the device for fonts in computeLabelSize
authorpenk
Wed, 12 Mar 2003 18:10:12 +0100
changeset 2704 9cd14ade263d
parent 2703 91b0c31b6d28
child 2705 a7c0e46f20fb
reset have to ask the device for fonts in computeLabelSize
Label.st
--- a/Label.st	Wed Mar 12 18:08:20 2003 +0100
+++ b/Label.st	Wed Mar 12 18:10:12 2003 +0100
@@ -1484,11 +1484,10 @@
             labelWidth := b width.
             labelHeight := b height.
         ] ifFalse:[
-"/ have to ask the device for fonts
-            labelWidth := logo widthOn:device.
-            labelHeight := logo heightOn:device.
-"/            labelWidth := logo widthOn:self.
-"/            labelHeight := logo heightOn:self.
+"/            labelWidth := logo widthOn:device.
+"/            labelHeight := logo heightOn:device.
+            labelWidth := logo widthOn:self.
+            labelHeight := logo heightOn:self.
         ].
 
 "/        b := logo bounds.
@@ -1841,5 +1840,5 @@
 !Label class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/Label.st,v 1.119 2003-03-12 17:08:20 penk Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/Label.st,v 1.120 2003-03-12 17:10:12 penk Exp $'
 ! !