mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor(ui-tests-app): add iosOverflowSafeArea property to pages
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<Page>
|
<Page>
|
||||||
<GridLayout rows="240, *">
|
<GridLayout rows="240, *">
|
||||||
<GridLayout width="290" id="test-element" automationText="test-element" />
|
<GridLayout automationText="test-element" id="test-element" width="290" iosOverflowSafeArea="false"></GridLayout>
|
||||||
<WrapLayout row="1">
|
<WrapLayout row="1">
|
||||||
<Button width="40" height="40" text="r" tap="resetTap"/>
|
<Button width="40" height="40" text="r" tap="resetTap"/>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
|
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
|
||||||
<GridLayout columns="auto * auto" rows="auto *" borderWidth="1" borderColor="black">
|
<GridLayout columns="auto * auto" rows="auto *" borderWidth="1" borderColor="black" iosOverflowSafeArea="false">
|
||||||
|
|
||||||
<StackLayout borderWidth="1" borderColor="black" verticalAlignment="top" width="150">
|
<StackLayout borderWidth="1" borderColor="black" verticalAlignment="top" width="150">
|
||||||
<Label text="textWrap: false" horizontalAlignment="center"/>
|
<Label text="textWrap: false" horizontalAlignment="center"/>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<Page>
|
<Page>
|
||||||
<GridLayout columns="*,*" rows="*,*,*,*" automationText="clipPath">
|
<GridLayout automationText="clipPath" columns="*,*" rows="*,*,*,*" iosOverflowSafeArea="false">
|
||||||
<StackLayout col="0" colSpan="2" row="0" width="100" height="100" style.backgroundColor="magenta">
|
<StackLayout col="0" colSpan="2" row="0" width="100" height="100" style.backgroundColor="magenta">
|
||||||
<Button text="no clip-path" width="100" height="100" style="background-image: url('~/ui-tests-app/resources/images/inset-test.png'); background-size: 100% 100%; background-repeat: no-repeat;"/>
|
<Button text="no clip-path" width="100" height="100" style="background-image: url('~/ui-tests-app/resources/images/inset-test.png'); background-size: 100% 100%; background-repeat: no-repeat;"/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:cC="ui-tests-app/issues/component" id="main-page">
|
<Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:cC="ui-tests-app/issues/component" id="main-page">
|
||||||
<StackLayout style.borderWidth="1" style.borderColor="black">
|
<StackLayout style.borderColor="black" style.borderWidth="1" iosOverflowSafeArea="false">
|
||||||
<Label class="ui-tests-app-issue-1639-red" text="main-page red from app.css" textWrap="true" />
|
<Label class="ui-tests-app-issue-1639-red" text="main-page red from app.css" textWrap="true" />
|
||||||
<Label class="local-red" text="main-page red from issue-1639.css" textWrap="true" />
|
<Label class="local-red" text="main-page red from issue-1639.css" textWrap="true" />
|
||||||
<cC:customView/>
|
<cC:customView/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</Page>
|
</Page>
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
<Label id="Label" backgroundColor="red" class="elementStyle" text="sample label" textWrap="true"/>
|
<Label id="Label" backgroundColor="red" class="elementStyle" text="sample label" textWrap="true"/>
|
||||||
<TextField id="TextField" backgroundColor="green" class="elementStyle" hint="" text="Sample textfield" />
|
<TextField id="TextField" backgroundColor="green" class="elementStyle" hint="" text="Sample textfield" />
|
||||||
<TextView id="TextView" class="elementStyle" text="Sample text view" backgroundColor="yellow" editable="true" />
|
<TextView id="TextView" class="elementStyle" text="Sample text view" backgroundColor="yellow" editable="true" />
|
||||||
<AbsoluteLayout id="AbsoluteLayout" class="container"/>
|
<AbsoluteLayout id="AbsoluteLayout" class="container" iosOverflowSafeArea="false"></AbsoluteLayout>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</Page>
|
</Page>
|
||||||
Reference in New Issue
Block a user