Please, I really need some advice

How can I add the image of the asterisk so that it doesn't display twice on 
the page. As it is at the moment it is displayed before 'labRequired' and 
after it as well. In my understanding it is not possible to add this image 
as a managed resource so how to do it so that it is only displayed once 
after the label.

Anyone knows?

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent";>

<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"

             xmlns:g="urn:import:com.google.gwt.user.client.ui">
   <ui:image field="requiredImage" src="images/required_indicator.gif"/>
  
    <ui:style type = 
"com.equillore.mcmexternal.client.ui.IndicatorLabel.Style"> 
        
       
        @sprite 
        
        .required
         {
            
            gwt-image: 'requiredImage';
            font-weight:bold;
            width: 7px;
            height: 14px;
        }
        
        .labRequired
        {
            
            color:#2E2E2E;
            font-family: Tahoma, Geneva, sans-serif;
            font-size:8pt;
            font-style:normal;
            font-weight:bold;
        }
    </ui:style>
    
    
    <g:SimplePanel width='120px' height='21px'>
    
    <g:Grid>
        <g:row>
            <g:customCell>
                <g:Label ui:field="label" 
addStyleNames="{style.labRequired}"/>
            </g:customCell>
              <g:customCell>
                
               <g:Label addStyleNames="{style.required}"/> 
            </g:customCell>
         </g:row>
    </g:Grid>
    </g:SimplePanel>
    
    
</ui:UiBinder> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/tmDvOA_fIssJ.
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.

Reply via email to