Results 1 to 2 of 2

Thread: Strange behavior with border layout - ExtJS 4

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    5
    Vote Rating
    0
      0  

    Default Strange behavior with border layout - ExtJS 4

    Here is what's going on:
    http://www.youtube.com/watch?v=zVEft...ature=youtu.be
    Here is the code:

    extend: 'Ext.container.Viewport', alias: 'widget.viewport', layout:'border', defaults: { collapsible: true, split: true, bodyStyle: 'padding:15px' }, items: [{ title: 'Footer', region: 'south', height: 150, minSize: 75, maxSize: 250, cmargins: '5 0 0 0' },{ title: 'Navigation', region:'west', margins: '5 0 0 0', cmargins: '5 5 0 0', width: 175, minSize: 100, maxSize: 250 },{ title: 'Main Content', collapsible: false, region:'center', margins: '5 0 0 0' }]Layout controller:

    Ext.define('MyAppp.controller.Layout', { extend: 'Ext.app.Controller', init: function(){ //kreiraj Viewport Ext.create('MyApp.view.Viewport'); console.log("Layout created!"); }});Login controller onSuccess:

    success: function(form, action){ win.destroy(); this.getController('Layout').init(); },What is going on with this layout?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Can you explain the issue here?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •