Skip to content

TabView.iosIconRenderingMode property #2689

Closed

Description

@leocaseiro

After accepting the #2435 and merging the c3ce128 into core, the tab icons color have become always blue and we have to harcoded to fix it back.

While we are not able to choose the icon tab color, I suggest we make optional to choose the render between UIImageRenderingModeAutomatic and UIImageRenderingModeAlwaysOriginal.

I'm happy to send a PR with something like:

<TabView rendering="automatic"> or <TabView rendering="alwaysoriginal">

Other References Issues: #260 #1278

Activity

  1. DomGaud commented on Sep 16, 2016

    @DomGaud

    Update: With new version should be able to switch
    from automatic
    ( var originalRenderedImage = is.ios.imageWithRenderingMode(0); )

    to alwaysoriginal
    ( var originalRenderedImage = is.ios.imageWithRenderingMode(1); )

  2. self-assigned this
    on Nov 4, 2016
  3. hamorphis commented on Nov 4, 2016

    @hamorphis
    Contributor

    @leocaseiro @DomGaud So basically, if I add a new iOS-specific public property to the TabView class which allows setting the rendering mode everyone will be happy. Is that correct?

  4. changed the title [-]ios: TabView Rendering Mode optional (Automatic/AlwaysOriginal)[/-] [+]iOS: TabView.iosIconRenderingMode property[/+] on Nov 4, 2016
  5. changed the title [-]iOS: TabView.iosIconRenderingMode property[/-] [+]TabView.iosIconRenderingMode property[/+] on Nov 4, 2016
  6. added this to the 2.5.0 milestone on Nov 4, 2016
  7. added a commit that references this issue on Nov 4, 2016
    93cc666
  8. hamorphis commented on Nov 4, 2016

    @hamorphis
    Contributor
        /**
         * Gets or set the UIImageRenderingMode of the tab icons in iOS. 
         * Valid values are:
         *  - automatic
         *  - alwaysOriginal
         *  - alwaysTemplate  
         */
        iosIconRenderingMode: string;
    

    If undefined, it will use UIImageRenderingMode.Automatic.

  9. hamorphis commented on Nov 4, 2016

    @hamorphis
    Contributor
    <TabView iosIconRenderingMode="alwaysOriginal">...</TabView>
    
  10. leocaseiro commented on Nov 6, 2016

    @leocaseiro
    ContributorAuthor

    Hi @hamorphis, that's exactly the kind of solution I was expecting for. Perfect!

    Thank you so much for that.

  11. DomGaud commented on Nov 6, 2016

    @DomGaud

    Perfect! Thanks @hamorphis

  12. hamorphis commented on Nov 7, 2016

    @hamorphis
    Contributor

    @leocaseiro @DomGaud The pull request is merged into the master branch. It will be released with 2.5.0. since we are already in a code-freeze for 2.4.0

  13. leocaseiro commented on Nov 7, 2016

    @leocaseiro
    ContributorAuthor

    Thank you so much for that @hamorphis.

    I really appreciate it!

  14. DomGaud commented on Nov 7, 2016

    @DomGaud

    @hamorphis Thank you.

  15. lock commented on Aug 29, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  16. locked and limited conversation to collaborators on Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions