Navigation Items

  1. 4 years ago

    Luiz D'Aniello

    29 Apr 2019 User since 2019

    First. Is it a way to make NavLeftItem closer to left margin (like a BACK button)? Check 2 images.

    Second. How do i setup NavBackItem? I inserted one, changed the image and title, but always show me the back icon (<) with the other page's title

  2. andrea

    7 May 2019 Administrator User since 2016

    Hi @Luiz D'Aniello

    1. You can programmatically change the position of the image of a BarButtonItem by customizing its imageInsets property (new in Creo 2.0.7)

    2. The back button shows the NavBackItem of the previous Window, so if you add a NavBackItem to a Window it is presented when you push another Window and your window is the second object in the navigation stack.

  3. Luiz D'Aniello

    8 May 2019 User since 2019

    So i think it's not working. Created a demo project. 2 windows. Second window i inserted a NavBackItem, customized. Didn't respect.

  4. andrea

    22 May 2019 Administrator User since 2016

    The customized NavBackItem must belong to the Window1 if you want to see it after pushing Window2.
    The back button is used to go back to the previous window, so its content is defined by the previous Window, not the current one.
    Please see the modified example.

  5. Luiz D'Aniello

    23 May 2019 User since 2019

    ahh. ok
    tks again @andrea

or Sign Up to reply!