From e612349635b32ac23fb9a7d75a50618309bb30a4 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Sun, 27 Nov 2011 16:28:52 +0000 Subject: [PATCH] Use form layouts on subpanels --- net/systemeD/potlatch2/TagViewer.mxml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net/systemeD/potlatch2/TagViewer.mxml b/net/systemeD/potlatch2/TagViewer.mxml index 5531064a..82143aa4 100644 --- a/net/systemeD/potlatch2/TagViewer.mxml +++ b/net/systemeD/potlatch2/TagViewer.mxml @@ -481,9 +481,14 @@ subpanel.styleName="subcategoryPanel"; subpanel.title=subcategory; subpanels[category][subcategory]=subpanel; + var form:Form = new Form(); + form.name = "form"; + var layout:FormLayout = new FormLayout(); + form.layout = layout; + subpanel.addChild(form); tabComponents[tab].push(subpanel); } - subpanel.addChild(catEditor); + Form(subpanel.getChildByName("form")).addElement(UIComponent(catEditor)); } else { tabComponents[tab].push(catEditor); } -- 2.30.0