class: SimpleView
authorClaus Gittinger <cg@exept.de>
Wed, 26 Nov 2014 20:43:41 +0100
changeset 6622 1fa709b9d5a1
parent 6621 a1b4cfc5fd1d
child 6623 9f70da2abc1d
class: SimpleView added: #hasOwnScrollbars hack to avoid double set of scrollbars when a codeView2 is used (for example, in fileBrowser)
SimpleView.st
--- a/SimpleView.st	Wed Nov 26 20:13:52 2014 +0100
+++ b/SimpleView.st	Wed Nov 26 20:43:41 2014 +0100
@@ -11058,6 +11058,15 @@
 
 !SimpleView methodsFor:'testing'!
 
+hasOwnScrollbars
+    "a hack for codeView2, which behaves like a TextView, but has its own
+     scrollbars embedded - sigh (an extra load one).
+     This allows for the UIBuilder to avoid creating an extra set around such
+     a view (as is the case with TextSpec with scrollbars when using CodeView2)"
+
+    ^ false
+!
+
 isApplicationSubView
     ^ false
 ! !
@@ -11239,11 +11248,11 @@
 !SimpleView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.765 2014-11-23 13:43:51 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.766 2014-11-26 19:43:41 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.765 2014-11-23 13:43:51 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.766 2014-11-26 19:43:41 cg Exp $'
 !
 
 version_SVN