//#style term
term = new TextField("Term", "", TextField.ANY, 50);
And this 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;
}
But when I start emulator, in the te开发者_如何学Cxtfield I can write only two characters...I don´t know why Please help, thanks a lot
//#style term
term = new TextField("Term", "", 50, TextField.ANY);
精彩评论