Search code examples
htmlcsswin-universal-appwinjsuwp

How to style Flipview as inline-block?


I can't style WinJS.UI.Flipview control. I can add rule to my CSS

display: inline-block

but Flipview just hiding and that's all... Tried many display modes but nothing solved my problem.

That's how it looks with display: block and specified width, but with display: inline-block it's hiding! Other blocks have inline-block value

I'm using WinJS 4.4 and making Windows 8.1/WP 8.1 app. I want FlipView to stop hiding with inline-block value.


Solution

  • Solved! Use display: inline-block and width as both!

    display: inline-block;
    width: 250px;