web-apps/apps/documenteditor/mobile/app/view/tablet/panel/ParagraphAlignment.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

45 lines
1.5 KiB
JavaScript

Ext.define('DE.view.tablet.panel.ParagraphAlignment', {
extend: 'Common.view.PopoverPanel',
alias: 'widget.paragraphalignmentpanel',
initialize: function() {
var me = this;
me.add({
xtype : 'container',
layout : 'hbox',
items : [
{
xtype : 'segmentedbutton',
id : 'id-toggle-paragraphalignment',
ui : 'base',
cls : 'divided',
items : [
{
id : 'id-btn-paragraphalignment-left',
ui : 'base',
iconCls : 'align-left'
},
{
id : 'id-btn-paragraphalignment-center',
ui : 'base',
iconCls : 'align-center'
},
{
id : 'id-btn-paragraphalignment-right',
ui : 'base',
iconCls : 'align-right'
},
{
id : 'id-btn-paragraphalignment-fill',
ui : 'base',
iconCls : 'align-fill'
}
]
}
]
});
this.callParent(arguments);
}
});