3 * Copyright(c) 2006-2009 Ext JS, LLC
5 * http://www.extjs.com/license
8 Ext.onReady(function(){
10 var SamplePanel = Ext.extend(Ext.Panel, {
13 style: 'margin-top:15px',
14 bodyStyle: 'padding:10px',
16 html: Ext.example.shortBogusMarkup,
26 menu: [{text: 'Menu Button 1'}]
31 menu: [{text: 'Cut Menu Item'}]
38 menu: [{text: 'Paste Menu Item'}]
46 title: 'Multi columns',
58 menu: [{text: 'Menu Item 1'}]
63 menu: [{text: 'Cut Menu Item'}]
70 menu: [{text: 'Paste Menu Item'}]
77 title: 'Other Bugus Actions',
86 menu: [{text: 'Menu Button 1'}]
91 menu: [{text: 'Cut Menu Item'}]
98 menu: [{text: 'Paste Menu Item'}]
109 title: 'Multi columns (No titles, double stack)',
111 xtype: 'buttongroup',
120 menu: [{text: 'Menu Item 1'}]
125 menu: [{text: 'Cut Menu Item'}]
132 menu: [{text: 'Paste Menu Item'}]
138 xtype: 'buttongroup',
147 menu: [{text: 'Menu Item 1'}]
152 menu: [{text: 'Cut Menu Item'}]
159 menu: [{text: 'Paste Menu Item'}]
168 title: 'Mix and match icon sizes to create a huge unusable toolbar',
170 xtype: 'buttongroup',
176 rowspan: 3, iconCls: 'add',
178 cls: 'x-btn-as-arrow'
187 menu: [{text: 'Menu Item 1'}]
189 xtype:'splitbutton', text: 'Cut', iconCls: 'add16', menu: [{text: 'Cut Menu Item'}]
191 text: 'Copy', iconCls: 'add16'
193 text: 'Format', iconCls: 'add16'
196 xtype: 'buttongroup',
198 title: 'Other Actions',
202 rowspan: 3, iconCls: 'add',
204 cls: 'x-btn-as-arrow'
213 menu: [{text: 'Menu Button 1'}]
215 xtype:'splitbutton', text: 'Cut', iconCls: 'add16', menu: [{text: 'Cut Menu Item'}]
217 text: 'Copy', iconCls: 'add16'
219 text: 'Format', iconCls: 'add16'
225 title: 'Medium icons, arrows to the bottom',
227 xtype: 'buttongroup',
238 menu: [{text: 'Menu Item 1'}]
244 menu: [{text: 'Cut Menu Item'}]
248 cls: 'x-btn-as-arrow'
253 menu: [{text: 'Paste Menu Item'}]
255 text: 'Format<br/>Stuff',
259 xtype: 'buttongroup',
260 title: 'Other Bogus Actions',
270 menu: [{text: 'Menu Item 1'}]
276 menu: [{text: 'Cut Menu Item'}]
280 cls: 'x-btn-as-arrow'
285 menu: [{text: 'Paste Menu Item'}]
289 cls: 'x-btn-as-arrow'
296 title: 'Medium icons, text and arrows to the left',
311 menu: [{text: 'Paste Menu Item'}]
324 title: 'Small icons, text and arrows to the left',
339 menu: [{text: 'Paste Menu Item'}]