Navigation Items

  1. 4 months ago

    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

    May 7 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. So i think it's not working. Created a demo project. 2 windows. Second window i inserted a NavBackItem, customized. Didn't respect.

  4. 3 months ago


    May 22 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. ahh. ok
    tks again @andrea

or Sign Up to reply!