]> git.proxmox.com Git - extjs.git/blame - extjs/examples/classic/neptune-components/app/view/form/widget/RadioButtons.js
add extjs 6.0.1 sources
[extjs.git] / extjs / examples / classic / neptune-components / app / view / form / widget / RadioButtons.js
CommitLineData
6527f429
DM
1Ext.define('Neptune.view.form.widget.RadioButtons', {\r
2 extend: 'Ext.form.FieldContainer',\r
3 xtype: 'radioButtons',\r
4 fieldLabel: 'Radio Buttons',\r
5 defaultType: 'radiofield',\r
6 items: [\r
7 {\r
8 boxLabel: 'Blue',\r
9 name: 'color',\r
10 checked: true\r
11 }, {\r
12 boxLabel: 'Grey',\r
13 name: 'color'\r
14 }, {\r
15 boxLabel: 'Black',\r
16 name: 'color'\r
17 }\r
18 ],\r
19\r
20 constructor: function(cfg) {\r
21 if (cfg.vertical === false) {\r
22 this.layout = {\r
23 type: 'hbox',\r
24 defaultMargins: '0 3'\r
25 };\r
26 }\r
27 this.callParent(arguments);\r
28 }\r
29});\r