]> git.proxmox.com Git - extjs.git/blame - extjs/classic/classic/test/specs/layout/mixed.js
bump version to 7.0.0-4
[extjs.git] / extjs / classic / classic / test / specs / layout / mixed.js
CommitLineData
947f0963
TL
1topSuite("Ext.layout.mixed",
2 [false, 'Ext.container.Viewport', 'Ext.layout.*', 'Ext.tab.Panel'],
3function() {
4 it("mixed test 1 - no failure", function() {
5 var vp;
6
7 expect(function() {
8 vp = new Ext.container.Viewport({
9 renderTo: Ext.getBody(),
10 layout: "fit",
11 items: [{
12 autoScroll: true,
13 layout: {
14 type: "vbox",
15 align: "stretch"
16 },
17 items: [{
18 heigt: 400,
19 layout: {
20 type: "hbox",
21 align: "stretch"
22 },
23 items: [{
24 flex: 1,
25 layout: {
26 type: "hbox",
27 align: "stretch"
28 },
29 items: [{
30 flex: 1,
31 layout: {
32 type: "vbox",
33 align: "stretch"
34 },
35 items: [{
36 flex: 1,
37 items: [{
38 title: "Title"
39 }]
40 }]
41 }, {
42 flex: 1,
43 layout: {
44 type: "vbox",
45 align: "stretch"
46 },
47 items: [{
48 height: 3000,
49 layout: {
50 type: "vbox",
51 align: "stretch"
52 },
53 items: [{
54 xtype: "tabpanel",
55 flex: 1,
56 items: [{
57 xtype: "panel",
58 title: "Music Oriented",
59 layout: "column",
60 autoScroll: true,
61 items: [{
62 columnWidth: 1,
63 items: [{
64 xtype: "panel",
65 layout: "fit",
66 items: [{
67 title: "Title"
68 }]
69 }]
70 }]
71 }]
72 }]
73 }]
74 }]
75 }]
76 }]
77 }]
78 });
79 }).not.toThrow();
80
81 vp.destroy();
82 });
83});