I'm adding in icons to each of my tabs in my NativeScript project, and I reference the png images properly, but my images are a bit oversized. I'm trying to add styling and can't figure out how to reference things properly. I'm using iconSource to reference my icon.
I've tried changing the font size to the TabView, I tried resizing the image, I've also tried adding padding, but nothing is working.
<TabViewItem title="Routes" ios:iconSource="res://tabIcons/subway" android:iconSource="res://home">
<Frame defaultPage="home/home-items-page"></Frame>
</TabViewItem>
<TabViewItem title="Map" ios:iconSource="res://tabIcons/map" android:iconSource="res://browse">
<Frame defaultPage="browse/browse-page"></Frame>
</TabViewItem>
<TabViewItem title="Favorites" ios:iconSource="res://tabIcons/heart" android:iconSource="res://search">
<Frame defaultPage="search/search-page"></Frame>
</TabViewItem>
<TabViewItem title="Settings" ios:iconSource="res://tabIcons/cog" android:iconSource="res://settings">
<Frame defaultPage="settings/settings-page"></Frame>
</TabViewItem>
</TabView>
I'd preferably like to add some padding around the iconSource image, and possibly format the title a bit.