2011-05-07 36 views
0
//#style term 
term = new TextField("Term", "", TextField.ANY, 50); 

而这个CSS:问题的文本框 - J2ME波兰

.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
//#style term 
term = new TextField("Term", "", 50, TextField.ANY);