major
nice-to-have
defect
major
enhancement
Currently, child components in TabComponents are configured as follows
<tabbar name=".."> <tabs> <tab label=""> <component name="" /> </tab> </tabs> </tabbar>
This is not the same as, for example, in dialogs or windows, where the component contains a DialogInfo or WindowInfo.
The structure should be adjusted as follows:
<tabbar name=".."> <components> <component name=""> <tabInfo label="" /> </component> </components> </tabbar>
Test
No test.
Code Migration
- Replace "tabs" with "components" in layout templates
- Search for "tabs" in layout files and replace the content as described above. Note: If a component is not specified directly but another layout file is included, an "inject" tag must be added around the "tabInfo". Example:
<tabbar name="..">
<components>
<include name="foo.xml">
<inject>
<tabInfo label="" />
</inject>
</include>
</components>
</tabbar>
- Remove the "scrolleable" and "description" properties from "tabInfo".