nativescript-angular: icon font codes in TabView *tabItem directives don't work
There is what I want to accomplish :
<TabView selectedIndex="1">
<StackLayout *tabItem="{title: ''}" class="fa">
<Label text="This is Label in Tab 1 "></Label>
</StackLayout>
<StackLayout *tabItem="{title: ''}" class="fa">
<Label text="This is Label in Tab 1 "></Label>
</StackLayout>
</TabView>
Here, the font-awesome icon code shows correctly in the Label block but in the tab it doesn’t. It could be really useful to have that working 😃
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (2 by maintainers)
I saw this issue is fixed for the plain {N} in #4302, where you can target directly the TabView Item. In Angular the template structor is completely different so I think there should be a fix for the Angular version, too. This issue should be reopened or a new one created.
Please open!
Has anyone managed to add a font awesome icon to a TabBar on NativeScript-Vue yet?
I can’t believe that a framework that puts itself as a sophisticated mobile development tool hasn’t come up with a solution for such a ridiculously simple and obvious feature. The proposed workaround - using images through iconSource - is painfully laborious due to the whole image resizing drama.
Please solve the font-size issue of tabs view item its to late
I’m using nativescript-ng2-fonticon and I can use the icons directly in the tabs like this