mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Merge pull request #2963 from NativeScript/tsenov/tabView
Wrapped all buttons in ScrollView
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
<Page xmlns="http://schemas.nativescript.org/tns.xsd">
|
||||
<Page
|
||||
xmlns="http://schemas.nativescript.org/tns.xsd">
|
||||
<TabView id="test-element">
|
||||
<TabView.items>
|
||||
<TabViewItem title="IteM onE">
|
||||
<TabViewItem.view>
|
||||
<ScrollView>
|
||||
<StackLayout>
|
||||
<Button text="tab-text-color: green;" tap="applyTap" tag="tab-text-color: green;" style.fontSize="8"/>
|
||||
<Button text="tab-background-color: yellow;" tap="applyTap" tag="tab-background-color: yellow;" style.fontSize="8"/>
|
||||
@ -15,6 +17,7 @@
|
||||
<Button text="all" tap="applyTap" tag="tab-text-color: green; tab-background-color: yellow; selected-tab-text-color: red; android-selected-tab-highlight-color: orange; text-transform: uppercase;" style.fontSize="8"/>
|
||||
<Button text="reset" tap="resetTap" style.fontSize="8"/>
|
||||
</StackLayout>
|
||||
</ScrollView>
|
||||
</TabViewItem.view>
|
||||
</TabViewItem>
|
||||
<TabViewItem title="IteM twO">
|
||||
|
Reference in New Issue
Block a user