--- a/DSVColumnView.st Tue Apr 05 09:11:12 2005 +0200
+++ b/DSVColumnView.st Tue Apr 05 15:12:23 2005 +0200
@@ -2777,6 +2777,20 @@
scrollRowWise := false.
!
+mapped
+ "set selection (if any) after mapping"
+
+ |idx|
+
+ super mapped.
+ needFitColumns == true ifTrue:[
+ self fitColumns
+ ].
+ (idx := self firstIndexSelected) ~~ 0 ifTrue:[
+ self scrollToRowAt:idx colAt:0.
+ ].
+!
+
realize
"recompute contents and fit columns to view"
@@ -2799,20 +2813,6 @@
self fitColumns.
!
-realized
- "set selection if exists after mapping"
-
- |idx|
-
- super realized.
- needFitColumns == true ifTrue:[
- self fitColumns
- ].
- (idx := self firstIndexSelected) ~~ 0 ifTrue:[
- self scrollToRowAt:idx colAt:0.
- ].
-!
-
release
"remove dependencies"
@@ -4056,5 +4056,5 @@
!DSVColumnView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.198 2005-04-04 10:34:38 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.199 2005-04-05 13:12:23 cg Exp $'
! !