Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="utf-8"?>

<!--
  ~ Copyright 2011 JBoss Inc
  ~
  ~   Licensed under the Apache License, Version 2.0 (the "License");
  ~   you may not use this file except in compliance with the License.
  ~   You may obtain a copy of the License at
  ~
  ~         http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~   Unless required by applicable law or agreed to in writing, software
  ~   distributed under the License is distributed on an "AS IS" BASIS,
  ~   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~   See the License for the specific language governing permissions and
  ~   limitations under the License.
  -->
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
             xmlns:gwt='urn:import:com.google.gwt.user.client.ui'>

  <ui:style>
    .floatLeft {
      float: left;
      font-family: Arial Unicode MS, Arial, sans-serif;
      font-size: small;
    }
  </ui:style>

  <gwt:HTMLPanel>
    <div class='{style.floatLeft}'>
      <gwt:Image ui:field="imageResource"/>
    </div>
    <div class='{style.floatLeft}'>
      <gwt:Label ui:field="textLabel"/>
    </div>
  </gwt:HTMLPanel>

</ui:UiBinder>
New to GrepCode? Check out our FAQ X