0
//#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;
}

但是当我启动模拟器时,在文本字段中我只能写两个字符......我不知道为什么请帮忙,非常感谢

4

1 回答 1

0
//#style term
term = new TextField("Term", "", 50, TextField.ANY);
于 2011-09-05T12:01:08.420 回答