Skip to content

Commit f6a3766

Browse files
committed
add latest changes
1 parent 38a7b35 commit f6a3766

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

Diff for: app/ui-category/tab-view/tab-view-examples.component.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ let menuLinks = [
66
new Link("TabView items", "/tab-view/items"),
77
new Link("Customizing Tab View", "/tab-view/customizing"),
88
new Link("Binding (Two-way) TabView selectedIndex", "/tab-view/binding"),
9+
new Link("Using icon font in TabView", "/tab-view/icon-fonts"),
910
];
1011

1112
@Component({
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!-- >> tabview-icon-font-html -->
22
<TabView class="icon" selectedIndex="0" sdkExampleTitle sdkToggleNavButton>
3-
<StackLayout *tabItem="{title: '&#xe903;'}">
4-
<Label text="First TabView item with Icon Font" textWrap="true" class="h2 m-x-auto" color="blue"></Label>
5-
<Label text="&#xe903;" textWrap="true" class="h2 m-x-auto" color="blue"></Label>
3+
<StackLayout *tabItem="{title: '&#xe913;'}">
4+
<Label text="First TabView item with Icon Font" textAlignment="center" textWrap="true" class="h2 m-x-auto" color="blue"></Label>
5+
<Label text="&#xe913;" textWrap="true" class="h2 m-x-auto" color="blue"></Label>
66
</StackLayout>
7-
<StackLayout *tabItem="{title: '&#xe90a;'}">
8-
<Label text="Second TabView item with Icon Font" textWrap="true" class="h2 m-x-auto" color="green"></Label>
9-
<Label text="&#xe90a;" textWrap="true" class="h2 m-x-auto" color="green"></Label>
7+
<StackLayout *tabItem="{title: '&#xe908;'}">
8+
<Label text="Second TabView item with Icon Font" textAlignment="center" textWrap="true" class="h2 m-x-auto" color="green"></Label>
9+
<Label text="&#xe908;" textWrap="true" class="h2 m-x-auto" color="green"></Label>
1010
</StackLayout>
1111
</TabView>
1212
<!-- << tabview-icon-font-html -->

Diff for: app/ui-category/tab-view/tab-view-icon-fonts/tab-view-icon-fonts.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { TabView, SelectedIndexChangedEventData, TabViewItem } from "ui/tab-view
66
@Component({
77
moduleId: module.id,
88
templateUrl: "./tab-view-icon-fonts.component.html",
9-
styleUrls:["./style.css"]
9+
styleUrls: ["./style.css"]
1010
})
1111
export class TabViewIconFontsComponent {
1212

13-
}
13+
}

0 commit comments

Comments
 (0)