public final class UICSSUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getFieldWidth(int oldSizeValue)
This method computes the CSS inline style width of an
input element. |
public static String getFieldWidth(int oldSizeValue)
input
element.
The attribute size="integer"
in input
elements is deprecated, it is recommended to use CSS instead.
As no equivalence exists in CSS units for the
"average width of letter", this function proposes an equivalent
in x-height.