File tree Expand file tree Collapse file tree 3 files changed +69
-3
lines changed
Expand file tree Collapse file tree 3 files changed +69
-3
lines changed Original file line number Diff line number Diff line change 1+ {
2+ title : "Our Complex Form"
3+ ,layout : "hbox"
4+ // ,height : 120
5+ ,layoutConfig : {
6+ align : "stretch"
7+ }
8+ ,items : [{
9+ xtype : "fieldset"
10+ ,title : "Name Information"
11+ ,flex : 1
12+ ,border : false
13+ ,defaultType : "field"
14+ ,items : [{
15+ fieldLabel : "First"
16+ ,name : "first"
17+ },{
18+ fieldLabel : "Middle"
19+ ,name : "middle"
20+ },{
21+ fieldLabel : "Last"
22+ ,name : "last"
23+ }]
24+ },{
25+ xtype: "fieldset"
26+ ,title : "Address Information"
27+ ,flex : 1
28+ ,border : false
29+ ,defaultType : "field"
30+ ,items : [{
31+ fieldLabel : "Address"
32+ ,name : "address"
33+ // ,xtype : "textfield"
34+ },{
35+ fieldLabel : "Street"
36+ ,name : "street"
37+ // ,xtype : "textfield"
38+ },{
39+ xtype : "container"
40+ ,layout : "column"
41+ ,anchor : '100%'
42+ ,items : [{
43+ xtype : "container"
44+ ,layout : "form"
45+ ,width : "50%"
46+ ,items : [{
47+ xtype : "textfield"
48+ ,fieldLabel : "State"
49+ ,name : "state"
50+ ,anchor : '-20'
51+ }]
52+ },{
53+ xtype : "container"
54+ ,layout : "form"
55+ ,columnWidth : 1
56+ // ,labelWidth : 30
57+ ,items : [{
58+ xtype : "textfield"
59+ ,fieldLabel : "Zip"
60+ // ,anchor : '-10'
61+ ,name : "zip"
62+ }]
63+ }]
64+ }]
65+ }]
66+ }
Original file line number Diff line number Diff line change 1717 <!-- page specific -->
1818 <!-- <script type="text/javascript" src="me.js"></script> -->
1919 < script type ="text/javascript " src ="layout.js "> </ script >
20- < script type =" text/javascript " src =" main-panel.js " > </ script >
20+
2121</ head >
2222
2323
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ children: [{
88 id:'form1',
99 leaf:true,
1010 },{
11- text:'Accordion ',
12- id:'accordion ',
11+ text:'Form 2 ',
12+ id:'form2 ',
1313 leaf:true
1414 },{
1515 text:'Anchor',
You can’t perform that action at this time.
0 commit comments