How about we always display a minimum of two decimals for float/double fields instead of one?
On Sep 13, 5:22 pm, Anthony <abasta...@gmail.com> wrote: > I'm not sure. When there is a mixture of text and numeric fields, I think it > looks better to keep them all aligned to the left (for example, your > "before" screenshot looks better to me -- the 500.00 looks odd all the way > on the right). On the other hand, if you have several numbers (with the same > number of decimal places) stacked on top of each other, I suppose right > alignment would be better. I think this might be more of a case-by-case > thing -- maybe just leave the default as it is. > > Anthony > > > > > > > > On Tuesday, September 13, 2011 5:59:49 PM UTC-4, Omi Chiba wrote: > > > By default, all input field is aligned to left but we all know it > > should be aligned to right for numbers. > > > We can add the following in the base.css to align them correctly. > > (Tested with IE and Chrome) > > > Don't you guys think it's better to make this change on the base.css > > comes from web2py ? > > > input.decimal, input.integer { > > text-align: right; > > } > > > Before > > >https://picasaweb.google.com/107398878481677837585/Web2py#56519648819... > > > After > > >https://picasaweb.google.com/107398878481677837585/Web2py#56519648839...