Major
Nice to have
Bugfix
Major
Enhancement
Currently, the child components in TabComponents are configured like this
<tabbar name="."> <tabs> <tab label=""> <component name="" /> </tab> </tabs> </tabbar>.
This is not like, for example, dialogs or windows where the component contains a DialogInfo, or WindowInfo.
The structure should be aligned as follows:
<tabbar name="."> <components> <component name=""> <tabInfo label="" /> </component> </components> </tabbar>
Test
No test.
Code migration
- In layout templates replace "tabs" with "components".
- In layout files, search for "tabs" and replace the content as described above. Attention: If you don't specify a component directly but include another layout file, you have to write an "inject" tag around the "tabInfo". Ex:
<tabbar name="."> <components> <include name="foo.xml"> <inject> <tabInfo label="" /> </inject> </include> </components> </tabbar>
- In "tabInfo" remove the properties "scrollable" and "description".