Touchkit NavigationButton style in right NavigationView component

Hi,

I added a navigation button to a navigationview, which lives in a navigation manager as follows:

final NavigationButton button = new NavigationButton(new MyView("Another Page"));
setRightComponent(button);

I expected that the button would be styled just like the back button with an arrow to the right, but it seems that’s not the case. Any chance to do so?

Regards,
Rudolf

Hi,

Assign this class name to your navigation button:
com.vaadin.addon.touchkit.gwt.client.theme.StyleNames.NAVIGATION_BUTTON_FORWARD

cheers,
matti

Thanks, even just adding style “forward” did help.

Yep, thats that same thing for computers, in StyleNames its just documented and listed for developers.