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 Unanswered: 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,421
    Answers
    3900
    Vote Rating
    1271
      0  

    Default

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

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

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

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
  •