Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Sometimes I too don't get what M$ is doing behind the scenes, but here's part of my take on height/width of windows... and it gets worse if you are trying to deal with a WPF window based on screen support of different magnifications. You know when people change their settings for larger text/icon sizes from 100%, 125% and 150%.</p> <p>Anyhow, what I've found is that when you run a window without a height/width, and it runs in a "Normal" mode, it appears to start up about 3/4 the screen... how/where it determines this default I havent found. Since you are specifying the width, it is respecting your request of a given width, but appears to retain the "Normal" height.</p> <p>Now if you use expression blend via</p> <pre><code>xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignWidth="350" d:DesignHeight="400" </code></pre> <p>This appear to tell your designer I am expecting the window to be drawn at 350w by 400h. The "d:" is as stated ignorable so its not FIXED to these dimensions. So when the form is actually drawn, it does its own voodoo computations to keep the window proportionately sized. </p> <p>The "d:DesignWidth" and "d:DesignHeight" are DIFFERENT than just a Height/Width declaration, where Height/Width are applied as actual size.</p> <p>So, this may not exactly explain how/why, but its what I've run into and hope it MIGHT shed some light on what you are encountering.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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