Results 1 to 2 of 2

Thread: layouts issue

  1. #1
    Sencha User
    Join Date
    Sep 2017

    Default layouts issue

    Hey guys,

    I can't figure out why as soon as I add layouts prop to a container - it fails in a browser with this error:
    ext.js:10695 Uncaught (in promise) Error: [Ext.createByAlias] Unrecognized alias: layout.hbox
        at Ext.Inventory.instantiateByAlias (ext.js:10695)
        at Ext.Factory.create (ext.js:14256)
        at Function.fn [as layout] (ext.js:14359)
        at constructor.applyLayout (ext.js:39309)
        at constructor.setter [as setLayout] (ext.js:8808)
        at Ext.Configurator.configure (ext.js:9087)
        at constructor.initConfig (ext.js:9687)
        at constructor (ext.js:13024)
        at constructor (ext.js:23554)
        at constructor.callParent (ext.js:9662)
    Even with the code as per example.

    I'm using Sencha Cmd v6.5.1.240

    Any containers without layout props rendered just fine.

  2. #2
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015


    Normally hbox is brought in automatically, but if you're not using many components yet, it might not be. You can include it in the build by adding the following at the top of the file that needs it:


Similar Threads

  1. Replies: 2
    Last Post: 23 Feb 2015, 12:56 AM
  2. [NOREPRO] nested accordion layouts issue
    By tigran in forum Ext:Bugs
    Replies: 3
    Last Post: 27 Aug 2013, 5:51 AM
  3. Creating absolute positioned layouts or other complex layouts
    By Ayame in forum Sencha Touch 1.x: Q&A
    Replies: 2
    Last Post: 23 Sep 2011, 1:41 AM
  4. [SOLVED]Accordion layout nested in other layouts issue
    By ThomasGra in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 5 Aug 2009, 1:34 AM
  5. Replies: 1
    Last Post: 6 Mar 2008, 12:25 AM

Posting Permissions

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