【发布时间】:2018-09-22 06:02:01
【问题描述】:
如何使用户无法编辑文本输入?
TextInput:
id:out
background_color: (0, 0, 0, 1)
foreground_color: (0, 1, 0, 1)
multiline: True
text:""
【问题讨论】:
-
将 readonly 属性设置为 True。
如何使用户无法编辑文本输入?
TextInput:
id:out
background_color: (0, 0, 0, 1)
foreground_color: (0, 1, 0, 1)
multiline: True
text:""
【问题讨论】:
readonly 属性是你的朋友
TextInput:
id:out
background_color: (0, 0, 0, 1)
foreground_color: (0, 1, 0, 1)
multiline: True
text:""
readonly: True
【讨论】: