Note that there are some explanatory texts on larger screens.

plurals
  1. POResizing elements in Expression Blend Preview 4
    text
    copied!<p>I'm walking through Adam Kinney's Blend tutorials (<a href="http://visitmix.com/labs/rosetta/EyesOfBlend/" rel="nofollow noreferrer">http://visitmix.com/labs/rosetta/EyesOfBlend/</a>) and I'm seeing some puzzling behavior with resizing objects. Specifically, at this step (<a href="http://visitmix.com/labs/rosetta/EyesOfBlend/Drawing/#08" rel="nofollow noreferrer">http://visitmix.com/labs/rosetta/EyesOfBlend/Drawing/#08</a>) I'm seeing two different behaviors resizing elements. Before I group the 3 circles into a grid, if I select all 3 they all resize the way I would intend with each circle growing and shrinking to the appropriate size to maintain the original proportion and position. Now, if I group the circles into a grid and then try to resize, resizing still occurs but the proportion of the 2 inner circles does not hold. Ultimately, if I want to try resizing everything on the page, I get the latter behavior which isn't what I want. Is this intended behavior of resizing within a grid? XAML below:</p> <pre><code>&lt;Grid x:Name="LayoutRoot" Background="White"&gt; &lt;Ellipse Margin="120,40" Stroke="Black" StrokeThickness="5"&gt; &lt;Ellipse.Fill&gt; &lt;RadialGradientBrush&gt; &lt;GradientStop Color="#FFFDF365" Offset="0.349"/&gt; &lt;GradientStop Color="#FFDEAE32" Offset="1"/&gt; &lt;GradientStop Color="#FFFEE834" Offset="0.711"/&gt; &lt;/RadialGradientBrush&gt; &lt;/Ellipse.Fill&gt; &lt;/Ellipse&gt; &lt;Grid HorizontalAlignment="Left" Height="105" Margin="187,111,0,0" VerticalAlignment="Top" Width="105"&gt; &lt;Ellipse Stroke="Black" StrokeThickness="5"&gt; &lt;Ellipse.Fill&gt; &lt;RadialGradientBrush&gt; &lt;GradientStop Color="#FF545454" Offset="1"/&gt; &lt;GradientStop Color="White" Offset="0.845"/&gt; &lt;/RadialGradientBrush&gt; &lt;/Ellipse.Fill&gt; &lt;/Ellipse&gt; &lt;Ellipse Fill="#FF935D09" Margin="31,30,30,31" Stroke="Black" StrokeThickness="5"/&gt; &lt;Ellipse Fill="White" Margin="38,38,50,50" Stroke="Black" StrokeThickness="0"/&gt; &lt;/Grid&gt; &lt;/Grid&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload