]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.define('Ext.rtl.button.Segmented', {\r |
2 | override: 'Ext.button.Segmented',\r | |
3 | \r | |
4 | privates: {\r | |
5 | _getFirstCls: function() {\r | |
6 | var cls = this._firstCls;\r | |
7 | if (!this.getVertical() && this.getInherited().rtl) {\r | |
8 | cls = this._lastCls;\r | |
9 | }\r | |
10 | return cls;\r | |
11 | },\r | |
12 | \r | |
13 | _getLastCls: function() {\r | |
14 | var cls = this._lastCls;\r | |
15 | if (!this.getVertical() && this.getInherited().rtl) {\r | |
16 | cls = this._firstCls;\r | |
17 | }\r | |
18 | return cls;\r | |
19 | }\r | |
20 | }\r | |
21 | }); |