If docked items, the weight will order how the items are laid out. Here is an example to put a Ext.toolbar.Toolbar above a Ext.panel.Panel's header ...
I now want to show a container
below the buttons
config. So I have made a simple fiddle to apply the knowledge of the docs:
https://fiddle.sencha.com/#view/editor&fiddle/26m0
But it doesn't work; the weight is not applied whether I use a big or a small number. Why isn't this working?
The
dock
config for your container does not have any impact. From the docs:Your container is not inside a
dockedItems
config. Also it seems that the bigger the weight, the more higher the item will be rendered.Here is a working fiddle: https://fiddle.sencha.com/#view/editor&fiddle/26m8