class: SimpleView
added: #hasOwnScrollbars
hack to avoid double set of scrollbars when a codeView2 is used
(for example, in fileBrowser)
--- 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