nativescript | layouts为ngFor循环创建ui

时间:2018-03-19 14:58:30

标签: nativescript angular2-nativescript nativescript-telerik-ui nativescript-angular

, 我试图创建一个视图和麻烦。 我试图用ngFor创建一行图像,所以我不知道将在屏幕上显示的图像的exec数量,但需要它看起来像那样, 在3张照片的情况下,它将在一行中,但是当第四张图片添加时,它将向下移动到新行enter image description here

谢谢

1 个答案:

答案 0 :(得分:4)

使用warpLayout可以解决该问题

WrapLayout

相关问题