title: ElementFlow: Exception in MeasureOverride
body: <p>I'm trying to use FluidKits ElementFlow-control in my application, but get an exception in the MeasureOverride method of ElementFlow.</p>
  
  <blockquote>
    <p>Layout measurement override of element 'FluidKit.Controls.ElementFlow' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size.</p>
  </blockquote>
  
  <p>In the sample application following FluidKit everything goes alright. When MeasureOverride gets called, the availableSize-struct is initialized with the bounds of the control, but in my application it comes with INF for both width and height.</p>
  
  <p>I have tried to find whats different between the sample and my app, but both is a window with a grid with a listbox who uses the ElementFlow for ItemsPanel.</p>
  
  <p>I have found others struggling with the same exception, but I have not found any solution to it, other than giving the listbox an explicit size. But I don't want to give it a size, I want the grid to manage its layout. </p>
  
  <p>Any suggestions?</p>