lbox1    : list_box {
    	   width = 15;
    	   height = 15;
    	   fixed_width = true;
    	   alignment = centered;
    	   }
lbox2    : list_box {
    	   width = 25;
    	   height = 15;
    	   fixed_width = true;
    	   alignment = centered;
    	   }

dxsect   : dialog {
	   label = "Dextra Waling Beam Profiles";
	   spacer;
	 : row {
  	 : lbox1 {
  	     key = "lst1";
  	   label = "Profiles" ;
  	   }
  	 : lbox2 {
  	     key = "lst2";
           label = "Section Size";
           }
         : column {
         : boxed_row {
           key  = "prev" ;
           label  = "Preview" ;
         : image {
           alignment = centered ;
       	   key   = "section" ;
	   width  = 30.0 ;
	   height = 10.0  ;
	   aspect_ratio = 1;
	   is_enabled  = false;
	   is_tab_stop = false;
	   }
	   }
	 : row {
         : boxed_column {
           key  = "sview" ;
           label  = "Views" ;
         : radio_button {
     	    key = "op1" ;
      	    label = "Elevation" ;
           }
         : radio_button {
     	    key = "op2" ;
      	    label = "Plan" ;
           }
//         : radio_button {
//     	    key = "op3" ;
//      	    label = "Elevation" ;
//           }
           }
//         : boxed_column {
//           key  = "pinfo" ;
//           label  = "Dimensions" ;
//         : edit_box {
//           label = "Depth" ;
//           allow_accept = true ;
//           key = "lbdepth" ;
//           edit_width = 3 ;
//           }
//         : edit_box {
//           label = "Width" ;
//           allow_accept = true ;
//           key = "lbwidth" ;
//           edit_width = 3 ;
//           }
//         : edit_box {
//           label = "Web" ;
//           allow_accept = true ;
//           key = "lbweb" ;
//           edit_width = 3 ;
//           }
//         : edit_box {
//           label = "Flange" ;
//           allow_accept = true ;
//           key = "lbflg" ;
//           edit_width = 3 ;
//           }
//           }           
           }
         : boxed_column {
           key  = "idata" ;
           label  = "Gap" ;
         : edit_box {
           label = "Input Gap (mm)" ;
           allow_accept = true ;
           key = "igap" ;
           edit_width = 3 ;
           }
           }
           }
           }
         : row {
           alignment   = centered;
           fixed_width = true;
         : button {
           label      = "OK";
           key        = "dl_accept";
           width      = 10;
           is_default = true;
           }
         : button {
           label      = "Cancel";
           key        = "dl_cancel";
           width      = 10;
           is_cancel = true;
           }
         : button {
           label = "About";
           key   = "dl_about";
           width = 10;
           }           
           }
           }
           
about : dialog {
   label = "Waling Beam Profile";
   : boxed_row {
      : paragraph {
         : text_part {
            alignment   = centered;
            label       = "Waling Beam";
         }
         : text_part {
            alignment   = centered;
            label       = "Version 1.0";
         }
         : text_part {
            alignment   = centered;
            label       = "(c) Copyright Dextra 2017";
         }
         : text_part {
            alignment   = centered;
            label       = "All Rights Reserved";
            is_cancel = true;
         }
         spacer_1;
         : text_part {
            alignment   = centered;
            label       = "Visit our web site at";
            is_cancel = true;
         }
         : text_part {
            alignment   = centered;
            label       = "http://www.dextragroup.com";
            is_cancel = true;
         }
         spacer_1;
         : text_part {
            alignment   = centered;
            label       = "Address comments to cadbim@dextragroup.com";
            is_cancel = true;
         }
//         spacer_1;
//         : button {
//           label = "Check Version!";
//           key   = "dl_check";
//           width = 10;
//      }
      }
   }
   ok_only;
}


MSIZE2  : dialog {
	  label = "Waling Bolts V1.0" ;
	: column {
        : image {
          alignment = centered ;
       	  key   = "vwaling" ;
	  width  = 30.0 ;
	  height = 10.0  ;
	  aspect_ratio = 1;
	  is_enabled  = false;
	  is_tab_stop = false;
	}
        : boxed_row {
          key  = "wview" ;
          label  = "Views" ;
        : radio_button {
    	    key = "wp1" ;
     	    label = "Elevation" ;
        }
        : radio_button {
    	    key = "wp2" ;
     	    label = "Plan" ;
        }
//        : radio_button {
//    	    key = "wp3" ;
//     	    label = "Elevation" ;
//        }
        }
       	: boxed_row {
	  label = "&Waling Bolt Size";
   	: popup_list {
   	  key = "selection";   	  
          value = 0 ;
	}
	}
        : boxed_column {
          label = "Waling Plate" ;
        : edit_box {
          label = "Thickness (mm)" ;
          allow_accept = true ;
          key = "wpthk" ;
          edit_width = 3 ;
        }
        : edit_box {
          label = "Width (mm)" ;
          allow_accept = true ;
          key = "wpwdt" ;
          edit_width = 3 ;
        }
        }
        }
        ok_cancel ;
        }