文本字段问题 - J2ME Polish

时间:2011-05-07 07:01:47

标签: j2mepolish

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

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

1 个答案:

答案 0 :(得分:0)

//#style term
term = new TextField("Term", "", 50, TextField.ANY);