mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-22 19:58:40 +00:00
input panel: Add drawing of layout
The drawing makes clear in a few seconds: - what columnT and columnB stand for - what additional containers and panels are created - to which of those the elements of column1, column2... go to When you're in the JS debugger and lost overview of where in this element hierarchy you are, you can quickly check xtype + layout. Then consulting this drawing solves the mistery. Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
This commit is contained in:
parent
0753b980c8
commit
bcc48f062c
@ -76,6 +76,20 @@ Ext.define('Proxmox.panel.InputPanel', {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* inputpanel, vbox
|
||||||
|
* +---------------------------------------------------------------------+
|
||||||
|
* | columnT |
|
||||||
|
* +---------------------------------------------------------------------+
|
||||||
|
* | container, hbox |
|
||||||
|
* | +---------------+---------------+---------------+---------------+ |
|
||||||
|
* | | column1 | column2 | column3 | column4 | |
|
||||||
|
* | | panel, anchor | panel, anchor | panel, anchor | panel, anchor | |
|
||||||
|
* | +---------------+---------------+---------------+---------------+ |
|
||||||
|
* +---------------------------------------------------------------------+
|
||||||
|
* | columnB |
|
||||||
|
* +---------------------------------------------------------------------+
|
||||||
|
*/
|
||||||
initComponent: function() {
|
initComponent: function() {
|
||||||
let me = this;
|
let me = this;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user