zoukankan      html  css  js  c++  java
  • ExtJS专题(十):layout布局的使用(5)

    1. column
      1. Ext.onReady(function() {  
      2.         var win = new Ext.Window({  
      3.             title: "Column Layout",  
      4.             height: 300,  
      5.              400,  
      6.             plain: true,  
      7.             layout'column',  
      8.             items: [{  
      9.                 title:"width=50%",  
      10.                 columnWidth:0.5,  
      11.                 html:"width=(容器宽度-容器内其它组件固定宽度)*50%",  
      12.                 height:200  
      13.             },  
      14.             {  
      15.                 title:"width=250px",  
      16.                  200,  
      17.                 height:100,  
      18.                 html:"固定宽度为250px"  
      19.             }              
      20.             ]  
      21.         });  
      22.         win.show();  
      23.     });  

    2. 把整个容器看成一列,然后向容器放入子元素时 。

      图形结果展示:

      .net代码 
  • 相关阅读:
    Spinal Tap Case
    Sorted Union
    Search and Replace
    Boo who
    Missing letters
    DNA Pairing
    Pig Latin
    Where art thou
    Roman Numeral Converter
    Redis高级客户端Lettuce详解
  • 原文地址:https://www.cnblogs.com/Leo_wl/p/1683616.html
Copyright © 2011-2022 走看看