Ext.define('MCLM.view.apolo.servicos.ServicoDetailWindow', {
    extend: 'Ext.Window',
    requires: [
        'MCLM.view.apolo.servicos.ServicoDetailWindowController'
    ],
    alias: 'widget.servicoDetailWindow',
    itemId: 'servicoDetailWindow',
    controller: 'servicoDetailWindow',
    title: "Detalhes",
    bodyPadding: 10,
    bodyStyle: {"background-color": "white"},

    bbar: [
        {xtype: 'component', flex: 1},
        {xtype: 'button', text: '<b>Adicionar ao cenário</b>', handler: 'onSaveScenarioBtnClick'}
    ],
    listeners: {
        afterrender: "afterrender"
    }
});