techteej
Aug 30, 2014 - 03:45
Is there any way to disable scrolling in ui.TextView?
Is there any way to disable scrolling in ui.TextView?
@techteej It inherits from ScrollView I think... so like this?
import ui
v = ui.View()
tv = ui.TextView()
tv.height = 100
tv.text = '''a
b
c
d
e
f
g
h
'''
tv.scroll_enabled = False
v.add_subview(tv)
v.present('sheet')
tv.scroll_enabled = False was what I was looking for. Thanks.