FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Unable to change font size for TabView bar items · Issue #1269 · NativeScript/NativeScript · GitHub

Unable to change font size for TabView bar items #1269

Description

I can't see a way to change the font size of the labels on TabView bar items. I managed to achieve this on Android with:

    tabView._tabLayout.getTextViewForItemAt(0).setTextSize(10);
    tabView._tabLayout.getTextViewForItemAt(1).setTextSize(10);
    tabView._tabLayout.getTextViewForItemAt(2).setTextSize(10);

but the same approach on iOS (using the appearance proxy: UITabBarItem.appearance().setTitleAttr...) didn't work, I can't be sure what's going on under the hood (are our changes being applied and then overwritten, or just not working outright), but the approaches on Stack Overflow articles that appear to work for regular iOS projects don't seem to be working here, which is strange.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL