I don't really know much about the geometry thing, but have you tried to set a proportion using the pack method options? as in:
$child = $Mother->Button()->pack(-expand=1, -fill='both');
Try this link, it has many things on the Geometry Manager, that I've just started reading about:
Here, I really really hope it be of value to you and solve this situation. Best of Luck :).
Update:In the pack method, widgets are given allocation rectangles, specific areas where the widgets can hang around upon resizing, this is achieved automatically for pack, the grid command, on the other hand doesn't have such a rectangle to fill-since it deals with grids- so part of your problem can be that, you have to interfere manually to put each widget in your application in Place every other time you changed to a different screen resolution. This arises because:
- you have explicitly used the geometry method.
- You haven't told the grid how to resize by giving the proper argument to the option -sticky=>.
This way you have disabled automatic resizing completely, now, try without setting the size yourself, or use the -sticky=> option with grid or the equivalent -fill=> and -expand=> options with pack, that means, use pack instead of grid.
be patient and it shall come your way.
Excellence is an Endeavor of Persistence.
Chance Favors a Prepared Mind.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.