chore: add example for issue 5274 (#5885)

This commit is contained in:
Svetoslav
2018-05-30 10:00:52 +03:00
committed by GitHub
parent e59d1567a5
commit b77675b312
5 changed files with 42 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
.paddingCssPanel{
vertical-align: center;
font-size: 20;
margin: 15;
}

View File

@@ -0,0 +1,12 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd">
<ActionBar title=" issue-5274 "></ActionBar>
<StackLayout class="paddingCssPanel">
<Label id="label" backgroundColor="green"
text="assrts .paddingCssPanel{
vertical-align: center;
font-size: 20;
margin: 15;
} of StackLayout" textWrap="true" />
<Button id="button" text="change" backgroundColor="yellow" style="padding:50"/>
</StackLayout>
</Page>

View File

@@ -26,6 +26,7 @@ export function loadExamples() {
examples.set("tabview-with-scrollview_4022", "issues/tabview-with-scrollview_4022");
examples.set("3354-ios", "issues/issue-3354");
examples.set("4450", "issues/issue-4450");
examples.set("5274", "issues/issue-5274");
return examples;
}

View File

@@ -5,11 +5,11 @@
"repository": "<fill-your-repository-here>",
"nativescript": {
"id": "org.nativescript.apps",
"tns-ios": {
"version": "3.4.1"
},
"tns-android": {
"version": "3.4.1"
"version": "next"
},
"tns-ios": {
"version": "next"
}
},
"dependencies": {
@@ -20,8 +20,8 @@
"babel-types": "6.11.1",
"babylon": "6.8.3",
"lazy": "1.0.11",
"nativescript-dev-typescript": "^0.5.0",
"nativescript-dev-typescript": "^0.7.1",
"tns-platform-declarations": "*",
"typescript": "^2.6.1"
"typescript": "^2.7.2"
}
}
}

View File

@@ -3,5 +3,21 @@
"exclude": [
"node_modules",
"platforms"
]
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": [
"./node_modules/tns-core-modules/*",
"./node_modules/*"
],
"~/*": [
"app/*"
]
},
"lib": [
"es6",
"dom"
]
}
}