Hello,
1) There is a FormItem.setAlign(Alignment align) but no setVAlign(VerticalAligment)?
Is it missing or is there another way to align formitems (e.g. when having a rowspan > 1) to set valign="top" of the item ?
2) On some forms and preferably only some of that form's items I wish to control padding-left and padding-right.
It's easy to achieve this by adding this in the CSS
but this impacts every form and every cell. I would like to have control about the properties in Java and set it on only some forms.
In the JS code, I find these vars on FormItem
can I set these from SmartGWT java code?
TIA
1) There is a FormItem.setAlign(Alignment align) but no setVAlign(VerticalAligment)?
Is it missing or is there another way to align formitems (e.g. when having a rowspan > 1) to set valign="top" of the item ?
2) On some forms and preferably only some of that form's items I wish to control padding-left and padding-right.
It's easy to achieve this by adding this in the CSS
Code:
.formCell { padding-left:10px; padding-right:10px; }
In the JS code, I find these vars on FormItem
Code:
var paddingLeft = isc.Element._getLeftPadding(cellStyle, true); var paddingRight = isc.Element._getRightPadding(cellStyle, true);
TIA
Comment