When working with a UiBinder
, I have created a checkbox element using the following code:
<g:CheckBox ui:field="ignoreCase"/>
To set the text in the java code, I am using this method:
ignoreCase.setText(UIConverter.getUILocalization().get(UINames.IgnoreCase));
Upon inspecting the elements, the result is as follows:
<span class="gwt-CheckBox FindEntDlgIgnoreCase">
<input type="checkbox" value="on" id="gwt-uid-255" tabindex="0">
<label for="gwt-uid-255">Ignore case<label>
</span>
I would like to add a style property of margin-left:5px
to the input
element, but I am struggling to access it.
How can I go about accessing the input
element?