Use inline style sheet within uibinder tag. Add styles attribute
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.