mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
@ -80,6 +80,8 @@ examples.set("pwrap", "layouts-percent/wrap");
|
||||
examples.set("modalview", "modal-view/modal-view");
|
||||
examples.set("nordic", "nordic/nordic");
|
||||
|
||||
examples.set("padding", "padding/padding");
|
||||
|
||||
examples.set("gestures", "pages/gestures");
|
||||
examples.set("touch", "pages/touch-event");
|
||||
examples.set("handlers", "pages/handlers");
|
||||
|
3
apps/ui-tests-app/padding/padding.css
Normal file
3
apps/ui-tests-app/padding/padding.css
Normal file
@ -0,0 +1,3 @@
|
||||
TextField, TextView, Button, Label {
|
||||
padding: 50;
|
||||
}
|
8
apps/ui-tests-app/padding/padding.xml
Normal file
8
apps/ui-tests-app/padding/padding.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<Page xmlns="http://schemas.nativescript.org/tns.xsd" >
|
||||
<StackLayout>
|
||||
<Label id="label" text="Label" backgroundColor="red"/>
|
||||
<TextField id="textField" text="TextField" backgroundColor="green"/>
|
||||
<TextView id="textView" text="TextView" backgroundColor="blue"/>
|
||||
<Button id="button" text="Button" backgroundColor="yellow"/>
|
||||
</StackLayout>
|
||||
</Page>
|
Reference in New Issue
Block a user