mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Added border-related properties to SegmentedBar ui-tests example
This commit is contained in:
@ -1,12 +1,19 @@
|
|||||||
<Page>
|
<Page>
|
||||||
<StackLayout>
|
<StackLayout>
|
||||||
<SegmentedBar selectedIndex="2" style="color: yellow; background-color: blue; font-weight: bold; font-size: 20; font-style: italic; font-family: monospace;" selectedBackgroundColor="red">
|
<SegmentedBar selectedIndex="2" style="color: yellow; background-color: blue; font-weight: bold; font-size: 20; font-style: italic; font-family: monospace;" selectedBackgroundColor="red">
|
||||||
<SegmentedBar.items>
|
<SegmentedBar.items>
|
||||||
<SegmentedBarItem title="Item 1" />
|
<SegmentedBarItem title="Item 1" />
|
||||||
<SegmentedBarItem title="Item 2" />
|
<SegmentedBarItem title="Item 2" />
|
||||||
<SegmentedBarItem title="Item 3" />
|
<SegmentedBarItem title="Item 3" />
|
||||||
</SegmentedBar.items>
|
</SegmentedBar.items>
|
||||||
</SegmentedBar>
|
</SegmentedBar>
|
||||||
<Button text="go to cleared page" tap="navigate"/>
|
<SegmentedBar selectedIndex="2" style="margin: 5; color: yellow; background-color: blue; font-weight: bold; font-size: 20; font-style: italic; font-family: monospace; height: 72; border-width: 2; border-radius: 7; border-color:green;" selectedBackgroundColor="red">
|
||||||
</StackLayout>
|
<SegmentedBar.items>
|
||||||
|
<SegmentedBarItem title="Item 1" />
|
||||||
|
<SegmentedBarItem title="Item 2" />
|
||||||
|
<SegmentedBarItem title="Item 3" />
|
||||||
|
</SegmentedBar.items>
|
||||||
|
</SegmentedBar>
|
||||||
|
<Button text="go to cleared page" tap="navigate" />
|
||||||
|
</StackLayout>
|
||||||
</Page>
|
</Page>
|
Reference in New Issue
Block a user