inside <ui:style>..</ui:style> tag, and specify the style name at
styleName attribute in HorizontalPanel. Try the code.
//example code
<?xml version="1.0" encoding="UTF-8"?>
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:xbrl='urn:import:com.tan.client'>
<ui:style>
.horizontalPanelStyle{
width: 100%;
height: 100px;
border: solid 1px blue;
background-color:red;
}
</ui:style>
<g:HorizontalPanel ui:field='Assets'
styleName="{style.horizontalPanelStyle}"/>
</ui:UiBinder>
S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment