Although zentara's solution of using place may work, much depends on how complex and intricate your application will become. The disadvantage of place is that it does very little of the calculation and automatic allocation that the other geometry managers do. Granted, relative x and y do what you want here.

Perhaps you should consider using grid, if your application is laid out in rows and columns like an Excel spreadsheet or a HTML table. In this case, setting gridColumnconfigure($_, -weight => 1) for all columns and gridRowconfigure($_, -weight => 1) for all rows, will give you a grid which will give proportionally equal space, and resize properly when you resize the parent window. For an example of this, have a look at the RPN calculator example here.

For more sophisticated layouts with percentage allocation, look at form, though I have never had need to use it.

Hope this helps

--
I'm Not Just Another Perl Hacker

In reply to Re: tk frames with percent widths by rinceWind
in thread tk frames with percent widths by c0s

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.