slackgmailskypefacebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacoslinuxwindowsinboxwhatsappicloudtweetdeckhipchattelegramhangouts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
530 B
23 lines
530 B
9 years ago
|
Ext.define('Ext.rtl.panel.Title', {
|
||
|
override: 'Ext.panel.Title',
|
||
|
|
||
|
getIconRenderData: function() {
|
||
|
var me = this,
|
||
|
data = me.callParent(),
|
||
|
header = me.ownerCt;
|
||
|
|
||
|
if (header && header.isParentRtl()) {
|
||
|
data.childElCls = ' ' + me._rtlCls;
|
||
|
}
|
||
|
|
||
|
return data;
|
||
|
},
|
||
|
|
||
|
privates: {
|
||
|
_getVerticalAdjustDirection: function() {
|
||
|
var header = this.ownerCt;
|
||
|
return (header && header.isParentRtl()) ? 'right' : 'left';
|
||
|
}
|
||
|
}
|
||
|
});
|