--- a/ImageView.st Fri Nov 17 18:23:36 1995 +0100
+++ b/ImageView.st Fri Nov 17 18:38:51 1995 +0100
@@ -56,7 +56,7 @@
!
version
- ^ '$Header: /cvs/stx/stx/libwidg2/ImageView.st,v 1.17 1995-11-17 17:23:34 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg2/ImageView.st,v 1.18 1995-11-17 17:38:51 cg Exp $'
! !
!ImageView class methodsFor:'startup'!
@@ -186,7 +186,7 @@
self paint:Color black on:Color white.
]
].
- layout == #center ifTrue:[
+ adjust == #center ifTrue:[
x := (width - (image extent x)) // 2.
y := (height - (image extent y)) // 2.
] ifFalse:[