//#style term
term = new TextField("Term", "", TextField.ANY, 50);
这个CSS:
.term
{
textfield-direct-input: true;
border-color: black;
font-size: small;
font-color: black;
layout: left;
title-position: top;
background: none;
padding: 10;
margin: 10;
include-label: true;
text-layout: left;
text-wrap: false;
}
但是当我启动模拟器时,在文本字段中我只能写两个字符......我不知道为什么请帮助,非常感谢
答案 0 :(得分:0)
//#style term
term = new TextField("Term", "", 50, TextField.ANY);