在我尝试NativeScript教程“Grocery”之后,我发现其按钮非常难以点击它,因为点按区域太小,所以我想通过更新布局文件将图像高度增加到下面的内容。但是,图像似乎不在中心(图像如下)。
如何在NativeScript中实现这一目标?
list.html
std::array<double, 4>
答案 0 :(得分:1)
您应该查看NS的FlexBox布局。
非常有用: http://docs.nativescript.org/cookbook/ui/layouts/flexbox-layout