Ticket #1426 (closed defect: fixed)
CustomLayout within CustomLayout not visible
| Reported by: | Jonatan Kronqvist | Owned by: | Matti Tahvonen |
|---|---|---|---|
| Priority: | blocker | Milestone: | User Interface Library 5.2.0 RC |
| Component: | undefined | Version: | |
| Keywords: | Cc: | ||
| Known Issue description: | |||
| Hours estimate: | Deadline (dd.mm.yyyy): | ||
| Known Issue version (since): | Known Issue title: | ||
| Hours done: | Depends to: | ||
| Affects documentation: | no | ||
| Known Issue workaround: | |||
| Affects release notes: | yes | Contract: | |
Description
Using tk 5.1.0-rc1
The attached project contains two custom layouts, where one of the layouts is put in a location in the other layout. Like so:
CustomLayout viewLayout = new CustomLayout("view");
viewLayout.addComponent(new Label("Title Location"), "title");
CustomLayout periodselectLayout = new CustomLayout("periodselect");
periodselectLayout.addComponent(new Label("Period label"), "label");
...
periodselectLayout.addComponent(new Button("Apply"), "button_apply");
viewLayout.addComponent(periodselectLayout, "periodselect");
viewLayout.addComponent(new Label("Content location"), "content");
mainWindow.addComponent(viewLayout);
Everything seems to render fine when inspecting the html in firebug, but nothing from the second layout (here periodselectLayout) is visible.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
