locked
WinRT Flyout width RRS feed

  • Question

  • Does WinRT allow changing the width of a Flyout ?

    I stumbled upon this query, when I was trying to modify the Flyout's size. I have a Flyout

    <div class="customflyout" data-win-control="WinJS.UI.Flyout"/>

    and have included the following css.

    .customflyout {

    width:80%;

    height:20%;

    }

    while, any value provided to height is respected, the width attribute is simply omitted. Is this expected ?

    Tuesday, September 11, 2012 11:30 AM

All replies

  • I would start by checking if there is effective area that can be used for the control. Does an absolute value in pixels render the width correctly?

    ex:-  width:50px;

    -Sagar

    Wednesday, September 12, 2012 6:37 PM
    Moderator
  • Setting absolute value in pixels did not resolve either. The effective area was still available in the outer div.
    Thursday, September 13, 2012 8:35 AM