title: Scale height and width of all control inside viewbox
body: <p>I am new to WPF. In my code i have a simple WPF window with a few controls. All the controls are contained in the View Box. My problem is that when i resize the the window, the control size text is not resizing proportionately. Here is my code:</p>
  <pre><code>&lt;Window x:Class=&quot;DesktopGoogleReader.UIelements.About&quot;
      xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
      xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
      Title=&quot;About&quot; Height=&quot;346&quot; Width=&quot;435&quot;
      &gt;
      &lt;Window.Background&gt;
          &lt;LinearGradientBrush StartPoint=&quot;0,0&quot; EndPoint=&quot;0,0.5&quot;&gt;
              &lt;LinearGradientBrush.GradientStops&gt;
                  &lt;GradientStop Offset=&quot;0&quot; Color=&quot;#eee&quot; /&gt;
                  &lt;GradientStop Offset=&quot;1&quot; Color=&quot;#ccc&quot; /&gt;
              &lt;/LinearGradientBrush.GradientStops&gt;
          &lt;/LinearGradientBrush&gt;
      &lt;/Window.Background&gt;
      &lt;Viewbox Stretch=&quot;Uniform&quot;&gt;
          &lt;Grid&gt;        
              &lt;Label Height=&quot;41&quot; Margin=&quot;83,12,12,0&quot; Name=&quot;label1&quot; VerticalAlignment=&quot;Top&quot; FontSize=&quot;20&quot; FontWeight=&quot;Bold&quot;&gt;Desktop Google Reader&lt;/Label&gt;
              &lt;Image Margin=&quot;348,0,0,0&quot; Name=&quot;image1&quot; Stretch=&quot;Fill&quot; Height=&quot;65&quot; HorizontalAlignment=&quot;Left&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;65&quot; Source=&quot;C:\Users\TRIDIP\Desktop\tmp\Desktop Google Reader WPF good UI\trunk\DesktopGoogleReader\DesktopGoogleReader.ico&quot; /&gt;
              &lt;Label Height=&quot;28&quot; Margin=&quot;92,49,12,0&quot; Name=&quot;label_versionName&quot; VerticalAlignment=&quot;Top&quot;&gt;Version: Versionnumber&lt;/Label&gt;
              &lt;TextBlock Margin=&quot;12,83,12,0&quot; Name=&quot;textBlock1&quot; Height=&quot;54&quot; VerticalAlignment=&quot;Top&quot; Text=&quot;Desktop Google Reader is Windows / .NET based client to the RSS aggregation service Google Reader. It is licensed under the New BSD License (BSD). It is developed by Konstantins Onufrijevs and Sven Walther&quot; TextWrapping=&quot;Wrap&quot; /&gt;
              &lt;Label Margin=&quot;12,134,12,0&quot; Name=&quot;label2&quot; Height=&quot;29&quot; VerticalAlignment=&quot;Top&quot;&gt;Credits: Desktop Google Reader uses the following external resources:&lt;/Label&gt;
              &lt;Button HorizontalAlignment=&quot;Left&quot; Margin=&quot;12,161,0,0&quot; Name=&quot;button_snarlChsarp&quot; Width=&quot;173&quot; Height=&quot;23&quot; VerticalAlignment=&quot;Top&quot; &gt;Snarl Connector&lt;/Button&gt;
              &lt;Button Margin=&quot;191,161,0,0&quot; Name=&quot;button_TweetSharp&quot; Height=&quot;23&quot; VerticalAlignment=&quot;Top&quot; HorizontalAlignment=&quot;Left&quot; Width=&quot;173&quot; &gt;TweetSharp&lt;/Button&gt;
              &lt;Button Height=&quot;23&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;12,190,0,0&quot; Name=&quot;button_iconSet&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;173&quot; &gt;Function Icon Set&lt;/Button&gt;
              &lt;Button Height=&quot;23&quot; Margin=&quot;191,190,0,0&quot; Name=&quot;button_facebook&quot; VerticalAlignment=&quot;Top&quot; HorizontalAlignment=&quot;Left&quot; Width=&quot;173&quot; &gt;Facebook Developer Toolkit&lt;/Button&gt;
              &lt;Button Height=&quot;23&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;12,219,0,0&quot; Name=&quot;button_awesomium&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;173&quot; &gt;Web Kit .NET&lt;/Button&gt;
              &lt;Button Height=&quot;23&quot; Margin=&quot;191,219,0,0&quot; Name=&quot;button_winkle&quot; VerticalAlignment=&quot;Top&quot; HorizontalAlignment=&quot;Left&quot; Width=&quot;173&quot; &gt;Winkle Update System&lt;/Button&gt;
              &lt;TextBlock Height=&quot;59&quot; Margin=&quot;12,248,12,0&quot; Name=&quot;textBlock_contributors&quot; VerticalAlignment=&quot;Top&quot; Text=&quot;Contributors: We want to thank all the people using Desktop Google Reader. A special thanks goes to Henry C. for his continues help in improving and supporting our project.&quot; TextAlignment=&quot;Left&quot; TextWrapping=&quot;Wrap&quot; /&gt;
          &lt;/Grid&gt;
      &lt;/Viewbox&gt;
  &lt;/Window&gt;
  </code></pre>