<div class="gmail_quote">On Thu, Dec 9, 2010 at 10:33 AM, Michael Lange <span dir="ltr">&lt;<a href="mailto:klappnase@web.de" target="_blank">klappnase@web.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Thus spoketh <a href="mailto:python@bdurham.com" target="_blank">python@bdurham.com</a><br>
unto us on Thu, 09 Dec 2010 10:52:39 -0500:<br>
<div><div></div><div><br>
&gt; Are there any best practice tips regarding when one should use<br>
&gt; pack vs. grid for their layouts?<br>
&gt;<br>
&gt; &gt;From what I&#39;ve been reading via google, the concencus seems to be<br>
&gt; that grid can handle any pack scenario but not vice-versa.<br>
&gt;<br>
<br>
</div></div>At least it&#39;s hard to figure out something that pack can do and grid<br>
can&#39;t.<br>
Imho it&#39;s better to use grid, if you cannot setup your layout with<br>
pack without using extra frames. To tell the truth, I hardly ever use<br>
pack at all, as far as I can see, the only advantage of pack is that it<br>
takes 2 or 3 extra lines of code when you want to replace pack<br>
(fill=&#39;both&#39;, expand=1) with grid.</blockquote><div><br></div><div>I agree.</div><div><br></div><div>I pretty much only use pack if I&#39;m throwing something together really quick and simple. If you have more than 3 or 4 widgets, it&#39;s probably better to use grid, especially if you want some specific layout options.</div>


<div><br></div><div>HTH,</div><div>Wayne</div></div>