Hi All,
My uibinder file is shown below.
and buttin is center but not middle.
I tried adding horizontal panel inside horizontal panel, nothing worked. added cell also.
What am i supposed to do, to make this button appear properly in middle(vertical alignment).
In eclipse it show properly, but in browser its not working.
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui' ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
ui:generateKeys='com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator'
ui:generateLocales='default' xmlns:p1="urn:import:com.google.gwt.user.datepicker.client">
<g:HorizontalPanel width="100%" height="100%">
<g:cell horizontalAlignment="ALIGN_CENTER" verticalAlignment="ALIGN_MIDDLE">
<g:Button width="150px" height="30px" ui:field="button">Click This</g:Button>
</g:cell>
</g:HorizontalPanel>
</ui:UiBinder>
Thanks,
Bennet.