TextBox.st
changeset 46 bd949a9cc2c7
parent 34 159147b254e1
child 47 502306feb1c3
--- a/TextBox.st	Sun Mar 26 22:17:34 1995 +0200
+++ b/TextBox.st	Fri Mar 31 05:06:00 1995 +0200
@@ -21,7 +21,7 @@
 COPYRIGHT (c) 1992 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libwidg2/TextBox.st,v 1.6 1995-02-06 00:57:25 claus Exp $
+$Header: /cvs/stx/stx/libwidg2/TextBox.st,v 1.7 1995-03-31 03:06:00 claus Exp $
 '!
 
 !TextBox class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libwidg2/TextBox.st,v 1.6 1995-02-06 00:57:25 claus Exp $
+$Header: /cvs/stx/stx/libwidg2/TextBox.st,v 1.7 1995-03-31 03:06:00 claus Exp $
 "
 !
 
@@ -90,7 +90,7 @@
 
     innerWidth := width - space2.
 
-    textView := ScrollableView for:EditTextView in:self.
+    textView := HVScrollableView for:EditTextView miniScrollerH:true in:self.
     textView origin:(ViewSpacing @ (space2 + labelField height))
 	     extent:(innerWidth @ (height - ViewSpacing -
 				   labelField height - ViewSpacing -
@@ -100,7 +100,7 @@
 				   labelField height - ViewSpacing -
 				   buttonPanel height - space3) ].
 
-    self keyboardHandler:textView
+    self delegate:(KeyboardForwarder to:textView scrolledView)
 
     "TextBox new showAtPointer"
 ! !