8000 Merge pull request #2098 from NativeScript/tsenov/zindex-test-app · hbcodeXCI/NativeScript@3fa46f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3fa46f1

Browse files
committed
Merge pull request NativeScript#2098 from NativeScript/tsenov/zindex-test-app
Update zindex test page
2 parents 87c9828 + b3f7817 commit 3fa46f1

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

apps/ui-tests-app/css/zindex.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<Page>
2-
<AbsoluteLayout>
3-
<StackLayout style="height:100; width: 100; z-index: 1; background-color: red;" />
4-
<StackLayout style="height:100; width: 100; background-color: green;" />
5-
</AbsoluteLayout>
2+
<StackLayout automationText="zIndex">
3+
<AbsoluteLayout style="background-color: green;">
4+
<Button text="button 1" style="height: 100; width: 100; z-index: 999; background-color: red;" />
5+
<Button text="button 2" left="20" top="70" style="height: 100; width: 100; z-index:1; background-color: yellow;"/>
6+
<Button text="button 3" left="60" top="130" style="height: 100; width: 100; z-index:0; background-color: blue; color: black;"/>
7+
<Button text="button 4" left="90" top="190" style="height: 100; width: 100; z-index:-1; background-color: orange;"/>
8+
</AbsoluteLayout>
9+
</StackLayout>
610
</Page>

apps/ui-tests-app/mainPage.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ examples.set("radius", "css/radius");
4646
examples.set("styles", "css/styles");
4747
examples.set("switch", "css/views");
4848
examples.set("tabmore", "css/tab-view-more");
49+
examples.set("zindex", "css/zindex");
4950

5051
examples.set("dialogs", "dialogs/dialogs");
5152

0 commit comments

Comments
 (0)
0