Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sx.ui.testMenu = Ext.extend(
- Ext.panel.Panel, {
- constructor: function (config) {
- if (config == null) {
- config = {}
- }
- config.title = "Test Menu";
- config.layout = {
- type: "border"
- //pack: "start",
- //align: "stretch",
- //enableSplitters: true
- };
- config.border = false;
- config.items = [{
- //xtype: "panel",
- region: "center",
- margin: "4 4 4 4",
- height: 450,
- //flex: 1,
- //border: false,
- //autoSize: true,
- items: Ext.create("sx.ui.MessageInbox", {})
- }, {
- //xtype: "panel",
- region: "south",
- margin: "4 4 4 4",
- height: 450,
- //flex: 1,
- //border: false,
- //autoSize: true,
- items: Ext.create("sx.ui.MessageSent", {})
- }]
- sx.ui.testMenu.superclass.constructor.apply(this, [config])
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement