I have the following XAML code for a Universal app on Windows Phone 8.1:
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Image Grid.Column="1" Source="{Binding BarcodeImg}"></Image>
</Grid>
I'm trying to have the image take exactly the middle 50% of the screen, but when I run with this code, the left column gets squeezed. How should I achieve this?