How about this one?

http://dev.s-cubism.com/plugin_tight_input_widget

This is a size-adjusted input widget with such right aligned text. I'v
used this widget in one of my products (I rewrote it for the plugin
just now).

The size of the widget is automatically adjusted to maximum length of
the field value which is defined by validators such as IS_LENGTH and
IS_INT_IN_RANGE. In this case, mixture of text and numeric fields
would not look so odd.

I also think it might be better just to leave the default for
simplicity.

Kenji


On 9月14日, 午後10:13, Omi Chiba <ochib...@gmail.com> wrote:
> I'm not float/double guy but yes, it make sense.
>
> With that, we can use this.
>
> input.decimal, input.integer, input.double {
>     text-align: right;
>
> }
>
> I also understand the Anthony's point. My table actually has five decimal
> field for different pricing for the product, which look really weird but
> there is also text-like integer value used for ID or status for example.
>
> If we keep the current, then I will just add this to my blog post in case
> someone looking for the solution.

Reply via email to