<tr>
<td><ui:msg description="Email">Email</ui:msg></td>
<td>
<e:ValueBoxEditorDecorator ui:field="email">
<e:valuebox>
<g:TextBox styleName="{resources.style.editField}"/>
</e:valuebox>
</e:ValueBoxEditorDecorator>
</td>
</tr>
.editField {
display: inline;
width: fieldWidth;
}
.rightAlign {
text-align: right;
}
Add a style name to your decorator div element. i call mine "textBoxDecorator" then use the following css selectors:
.textBoxDecorator div:first-child {
float: right;
}
.textBoxDecorator div:last-child {
float: left;
}.textBoxDecorator::after {content: "";
display: block;
clear: both;
}