3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
19 'Ext.container.ButtonGroup',
20 'Ext.layout.container.Table',
21 'Ext.tip.QuickTipManager'
24 Ext.onReady(function() {
25 var fakeHTML = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
29 // The default dockedItem weights have TLRB order, but TBLR matches border layout:
30 Ext.panel.AbstractPanel.prototype.defaultDockWeights = { top: 1, bottom: 3, left: 5, right: 7 };
32 var SamplePanel = Ext.extend(Ext.Panel, {
35 style : 'margin-top:15px',
36 bodyStyle: 'padding:10px',
37 renderTo : Ext.getBody(),
43 title: 'Standard (lbar)',
68 title: 'Standard w/Split Buttons (rbar)',
71 menu: [{text: 'Menu Button 1'}]
74 menu: [{text: 'Cut Menu Item'}]
79 menu: [{text: 'Paste Menu Item'}]
87 title: 'Standard w/Short Text',
92 menu: [{text: 'Menu Button 1'}]
100 menu: [{text: 'Cut Menu Item'}]
109 menu: [{text: 'Paste Menu Item'}]
121 title: 'Standard w/Long Text',
127 menu: [{text: 'Menu Button 1'}]
130 text: 'Cut Selection',
133 menu: [{text: 'Cut Menu Item'}]
135 text: 'Copy Selection',
142 menu: [{text: 'Paste Menu Item'}]
152 title: 'One of Everything',
231 { text: "Menu Item 1" }