[UWP][XAML]ColumnDefinitions Width=Star Not Working RRS feed

  • Question

  • I have a Grid with the following ColumnDefinitions:
      <ColumnDefinition Width="*" MinWidth="360"/>
      <ColumnDefinition Width="*" MinWidth="360"/>
      <ColumnDefinition Width="*" MinWidth="360"/>
    In this Grid, I have 2 Grids & a ScrollViewer. However, these 2 Grids & ScrollViewer do not have the same Width (not even the 2 Grids). Isn't Width="*" supposed to make them the same size? Am I misunderstanding what the * means? Do I need to do something else that I am forgetting? Thanks.

    Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

    Saturday, September 5, 2015 2:59 PM


  • I guessing you maybe competing with your minWidth. * will be trying to equally divide the content but if the result is less that 360 then min width will probably win out. Do you get the same result when you take off the MinWidth?


    Sunday, September 6, 2015 7:49 AM