mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Update a test page.
This commit is contained in:
6
apps/ui-tests-app/image-view/roundbtn.xml
Normal file
6
apps/ui-tests-app/image-view/roundbtn.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<Page>
|
||||
<StackLayout>
|
||||
<Button text="ButtonCircle" style="width:200;height:200;color:white;border-radius:100;border-width:2;border-color:red;background-color:blue" />
|
||||
<Button text="ButtonImage" style="width:200;height:200;color:white;border-radius:100;border-width:2;border-color:blue;background-image:url('~/pages/red.png')" />
|
||||
</StackLayout>
|
||||
</Page>
|
||||
@@ -48,4 +48,14 @@
|
||||
border-radius: 30;
|
||||
border-width: 5;
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
style {
|
||||
width: 200;
|
||||
height: 200;
|
||||
color: white;
|
||||
border-width: 2;
|
||||
border-color: blue;
|
||||
border-radius: 100;
|
||||
background-image: url('~/pages/red.png');
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
<Page>
|
||||
<StackLayout>
|
||||
<Button text="ButtonCircle" id="btnCircle" style="width:200;height:200;color:white;border-width:2;border-color:red;border-radius:100;background-color:blue" />
|
||||
<Button text="ButtonImage" id="btnImage" style="width:200;height:200;color:white;border-width:2;border-color:blue;border-radius:100;background-image:url('~/pages/red.png')" />
|
||||
</StackLayout>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user