title: Expanding instead of scrolling issue on Windows Phone 8.1
body: <p>I'm trying to achieve the following effect: a scrollable (vertically) list of items; each item should be scrollable horizontally if there is such need. I tried the following code:</p>
  
  <pre><code>        &lt;ScrollViewer x:Name="historyViewer" 
                        VerticalScrollMode="Enabled" VerticalScrollBarVisibility="Hidden"
                        HorizontalScrollMode="Disabled" HorizontalScrollBarVisibility="Hidden"&gt;
              &lt;ItemsControl ItemsSource="{Binding History}"&gt;
                  &lt;ItemsControl.ItemTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;StackPanel Orientation="Vertical" HorizontalAlignment="Stretch"&gt;
                              &lt;ScrollViewer VerticalScrollMode="Disabled" VerticalScrollBarVisibility="Hidden"
                                            HorizontalScrollMode="Enabled" HorizontalScrollBarVisibility="Hidden"&gt;
                                  &lt;TextBlock Foreground="{ThemeResource PhoneMidBrush}" FontSize="{ThemeResource TextStyleExtraLargeFontSize}" HorizontalAlignment="Left" Text="{Binding Expression}" /&gt;
                              &lt;/ScrollViewer&gt;
                              &lt;ScrollViewer x:Name="resultScroll" VerticalScrollMode="Disabled" VerticalScrollBarVisibility="Hidden"
                                            HorizontalScrollMode="Enabled" HorizontalScrollBarVisibility="Hidden"&gt;
                                  &lt;TextBlock FontSize="{ThemeResource TextStyleExtraLargePlusFontSize}" HorizontalAlignment="Right" Text="{Binding Result}" /&gt;
                              &lt;/ScrollViewer&gt;
                          &lt;/StackPanel&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/ItemsControl.ItemTemplate&gt;
              &lt;/ItemsControl&gt;
          &lt;/ScrollViewer&gt;
  </code></pre>
  
  <p>The problem is, that if list items are too wide, they extend width of the main scrollviewer instead of becoming scrollable - even though its horizontal alignment is set to stretch.</p>
  
  <p>How can I fix that?</p>