Windos 8 Html5 & Javascript: Label AppbarCommand in snapped view

Developing an App for Windows 8 with HTML5 and JavaScript, I am trying to show the appbarcommand label of the appbar in snapped view.

As I had found in Microsoft documentation it sais:

"Windows automatically hides labels and adjusts padding for you when people snap your App"

A workaround I had thought is to add a span with the text I want to show, but I think it is a Little tricky.

Suggestions?

Upvotes: 0

Views: 174

Answers (1)

Dominic Hopton
Dominic Hopton

Reputation: 7292

override the style that ui-light/ui-dark.css sets in snapped mode, so that it doesn't hide the label.

You should be able to derive this by looking at the text in DOM Explorer while the app is snapped, and seeing the CSS rule that is applying.

Upvotes: 1

Related Questions