Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在标签条中添加新行或第二行。一旦第一行的空间用完,我希望另一行显示标签。我可以获得示例代码吗?注意:选项卡是在单击按钮时动态生成的。
sap.m.IconTabBar 仅支持单行 IconTabBarFilters 并在没有空间将它们全部显示在一行中时使用水平滚动。
为了实现您的目标,您需要定义多个 IconTabBar 并确定每行中所需的 IconTabBarFilter 数量。一旦 IconTabBar “满”,将下一个 IconTabFilter 添加到下一行的 IconTabBar(并使其可见)。