android - 另一个文本周围的 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>
但是看起来不太好...
解决方案
推荐阅读
- python-3.x - 如何初始化一个包含自定义函数的列表,而不需要 python 在初始化期间运行这些函数?
- html - 为什么对象适合:包含/覆盖;没有效果?
- php - 为什么 WordPress 后端不再显示导航?
- reactjs - 组件不刷新的react-router路由问题
- html - 无法在 Django 的子模板中包含模板
- python - 是否可以用python在平行对齐的轴上绘制多维点
- date - 如何计算 Pine Script 中两个日期(天数)之间的差异?
- elasticsearch - 如何在不通过 tls 传递 -k 的情况下卷曲 elasticsearch kubernetes 运算符?
- matlab - 在 for 循环中使用 struct 访问二叉搜索树
- android - 我可以在扩展小部件中使用列小部件吗?