MSFanboy
asked on
Why does my titlebar + statusbar gets resized when I resize my whole custom window?
Hello,
look at my screenshot. There you see a squeezed titlebar + statusbar. This happens when I resize my custom window:
The titlebar is in the first Row with height 0.054. Even when I set the Height to a fix value like 40 pixel the titlebar still gets resized when the window gets resized, but why? I want the titlebar+statusbar having a fix HEIGHT value whatever I do with the window.
look at my screenshot. There you see a squeezed titlebar + statusbar. This happens when I resize my custom window:
The titlebar is in the first Row with height 0.054. Even when I set the Height to a fix value like 40 pixel the titlebar still gets resized when the window gets resized, but why? I want the titlebar+statusbar having a fix HEIGHT value whatever I do with the window.
<Grid x:Name="MainGrid">
<Grid.RowDefinitions>
<RowDefinition Height="0.054*"/>
<RowDefinition Height="0.121*"/>
<RowDefinition Height="0.791*"/>
<RowDefinition Height="0.034*"/>
</Grid.RowDefinitions>
....
test.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
now I found it out too after some logical thinking ;-)
* specifies the proportion. So in this case it means 0.054 x total height.