mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: add example for issue 5274 (#5885)
This commit is contained in:
5
apps/app/ui-tests-app/issues/issue-5274.css
Normal file
5
apps/app/ui-tests-app/issues/issue-5274.css
Normal file
@@ -0,0 +1,5 @@
|
||||
.paddingCssPanel{
|
||||
vertical-align: center;
|
||||
font-size: 20;
|
||||
margin: 15;
|
||||
}
|
||||
12
apps/app/ui-tests-app/issues/issue-5274.xml
Normal file
12
apps/app/ui-tests-app/issues/issue-5274.xml
Normal 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>
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -3,5 +3,21 @@
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"platforms"
|
||||
]
|
||||
],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"*": [
|
||||
"./node_modules/tns-core-modules/*",
|
||||
"./node_modules/*"
|
||||
],
|
||||
"~/*": [
|
||||
"app/*"
|
||||
]
|
||||
},
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user