首页 > 解决方案 > 另一个文本周围的 Nativescript 文本

问题描述

如何使文本围绕其他文本或图像?我需要这样的东西:

Label1 Label1 Label2
Label1 Label1 Label1
...

标签 1 就在标签 2 周围...

这是我尝试过的:

<FlexboxLayout width="100%" row="1">
        <Label [text]="item.description" textWrap="true"></Label>
        <Label text="3.33" width="100" height="50" textWrap="true"></Label>
</FlexboxLayout>

但是看起来不太好...

标签: androidiosnativescriptangular2-nativescript

解决方案


我认为目前尚不支持开箱即用,但如果您有兴趣,可以使用iOS / Android的本机解决方案。


推荐阅读