2011-05-07 62 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);