--- a/ListView.st Sat Feb 01 12:05:45 1997 +0100
+++ b/ListView.st Sat Feb 08 12:46:20 1997 +0100
@@ -1228,8 +1228,11 @@
shown ifTrue:[
list notNil ifTrue:[
-
listSize := self numberOfLines.
+ listSize == 0 ifTrue:[
+ widthOfWidestLine := 0.
+ ].
+
"
if we are beyond the end, scroll up a bit
"
@@ -1246,7 +1249,7 @@
^ super contentsChanged
"Modified: 18.11.1996 / 19:50:07 / stefan"
- "Modified: 21.11.1996 / 17:43:55 / cg"
+ "Modified: 8.2.1997 / 12:41:51 / cg"
!
keyPress:key x:x y:y
@@ -3506,5 +3509,5 @@
!ListView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg/ListView.st,v 1.121 1997-01-29 12:31:23 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/ListView.st,v 1.122 1997-02-08 11:46:20 cg Exp $'
! !