Change default alignment of number field to right align

(transplanted from 3bff538040f8ee26273031c69c9cc5c19373a4ac)
This commit is contained in:
Heng Sin Low 2011-07-05 11:17:42 +08:00
parent 41457e65e8
commit bededbe348
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ public class NumberBox extends Div
decimalBox = new Decimalbox();
if (integral)
decimalBox.setScale(0);
decimalBox.setStyle("display: inline;");
td.appendChild(decimalBox);
decimalBox.setStyle("display: inline;text-align:right");
td.appendChild(decimalBox);
Td btnColumn = new Td();
tr.appendChild(btnColumn);