Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

Commented Issue: [Version 2] DockHeight does not work on LayoutDocumentPane [15657]

$
0
0
<p>Hi,</p>
<p>&#160;</p>
<p>I have the following XAML code:</p>
<p>&#160;</p>
<p>&lt;dock:LayoutPanel Orientation=&quot;Vertical&quot;&gt;</p>
<p> &lt;dock:LayoutDocumentPane DockHeight=&quot;200&quot;&gt;</p>
<p> &lt;dock:LayoutDocument Title=&quot;Doc 1&quot;/&gt;</p>
<p> &lt;dock:LayoutDocument Title=&quot;Doc 2&quot;/&gt;</p>
<p> &lt;/dock:LayoutDocumentPane&gt;</p>
<p> &lt;dock:LayoutDocumentPane&gt;</p>
<p> &lt;dock:LayoutDocument Title=&quot;Doc 3&quot;/&gt;</p>
<p> &lt;/dock:LayoutDocumentPane&gt;</p>
<p>&lt;/dock:LayoutPanel&gt;</p>
<p>&#160;</p>
<p>However, both panes are displayed the same height initially.</p>
<p>&#160;</p>
<p>Regards,</p>
<p>Jecho</p>
Comments: ** Comment from web user: adospace **

LayoutDocument only supports proportional width/height. i.e. try set DockHeight="2*" to make the first document 2 times bigger than second one.
Thanks,
Ado


Viewing all articles
Browse latest Browse all 2690

Trending Articles