<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
             xmlns:g='urn:import:com.google.gwt.user.client.ui'>

   <ui:style>
      .dialog input {
         width: 300px;
      }
      .dialog  {
	      width: 305px;
      }
      
      .type {
         width: 100%;
      }
   </ui:style>

   <g:HTMLPanel styleName="{style.dialog}">
      
      <label>A Notebook is a standalone HTML file that contains the
      code and output from your R script.</label>
      
      <p>
         <label>Title (optional):</label><br/>
         <g:TextBox ui:field="txtTitle_" />
      </p>
      <p>
         <label>Author (optional):</label><br/>
         <g:TextBox ui:field="txtAuthor_" />
      </p>
 
      <div ui:field="divTypeSelector_">
         <g:HorizontalPanel ui:field="typeLabelPanel_">
            <g:Label ui:field="lblType_" text="Notebook type:"/>
         </g:HorizontalPanel>
         <g:ListBox ui:field="listType_"
                    styleName="{style.type}">
            <g:item value="default">(Default)</g:item>
            <g:item value="spin">knitr::spin</g:item>
         </g:ListBox>
      </div>
 
   </g:HTMLPanel>

</ui:UiBinder>