feat(action-bar): iosLargeTitle and iosShadow attributes (#10694)

[skip ci]
This commit is contained in:
Nathan Walker
2025-02-18 08:35:56 -08:00
committed by GitHub
parent adaa796bda
commit 11d5e542eb
6 changed files with 35 additions and 13 deletions

View File

@ -10,7 +10,7 @@ Button {
}
.btn-view-demo {
/* background-color: #65ADF1; */
border-radius: 5;
border-radius: 8;
font-size: 17;
padding: 15;
font-weight: bold;

View File

@ -1,11 +1,11 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
<Page.actionBar>
<ActionBar title="Dev Toolbox" icon="" class="action-bar">
<ActionBar title="Dev Toolbox" icon="" class="action-bar" iosLargeTitle="true" iosShadow="false">
</ActionBar>
</Page.actionBar>
<StackLayout class="p-20">
<StackLayout>
<ScrollView class="h-full">
<StackLayout>
<StackLayout class="p-20" paddingBottom="40" iosOverflowSafeArea="false">
<Button text="a11y" tap="{{ viewDemo }}" class="btn btn-primary btn-view-demo" />
<Button text="box-shadow" tap="{{ viewDemo }}" class="btn btn-primary btn-view-demo" />
<Button text="css-playground" tap="{{ viewDemo }}" class="btn btn-primary btn-view-demo" />

View File

@ -1,6 +1,9 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo" class="page">
<StackLayout>
<Button text="Btoa y Atob" tap="encodeDecode" />
<Page.actionBar>
<ActionBar title="WinterTC" class="action-bar">
</ActionBar>
</Page.actionBar>
<StackLayout>
<Button text="Btoa y Atob" tap="encodeDecode" />
</StackLayout>
</Page>