From bededbe348f979dd99f126486208dae46d2c612d Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 5 Jul 2011 11:17:42 +0800 Subject: [PATCH] Change default alignment of number field to right align (transplanted from 3bff538040f8ee26273031c69c9cc5c19373a4ac) --- .../WEB-INF/src/org/adempiere/webui/component/NumberBox.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/NumberBox.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/NumberBox.java index 7892a68328..29ed552143 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/NumberBox.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/NumberBox.java @@ -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);