小编Bak*_*oev的帖子

如何在Native Script中将border-radius设置为按钮?

我有一个按钮:

<Button text="TodoSomething" cssClass="button" tap="signIn"/>
Run Code Online (Sandbox Code Playgroud)

platform.android.css

.button{
-webkit-border-radius: 80px;
-moz-border-radius: 80px;
border-radius: 80px;}
Run Code Online (Sandbox Code Playgroud)

但是border-radius不起作用.在支持的属性写入本机脚本支持border-radius

xml android ios nativescript

2
推荐指数
1
解决办法
3530
查看次数

标签 统计

android ×1

ios ×1

nativescript ×1

xml ×1