laziness, impatience, and hubris | |
PerlMonks |
Stretchy grids in Tkby rinceWind (Monsignor) |
on Sep 15, 2003 at 12:18 UTC ( [id://291540]=perlquestion: print w/replies, xml ) | Need Help?? |
rinceWind has asked for the wisdom of the Perl Monks concerning the following question:
I have an existing Tk app that works pretty well. It's actually the process monitor described in some other nodes on PM. It has a main window with buttons that change colour as processes change state. A coworker has suggested an improvement, whereby resizing the main window would cause every button to be resized proportionally. This would be useful, in that the monitor could be maximised to fill the screen, and visible from a distance through the computer room glass window. When I try this with the existing application, the main window does resize when you drag a corner, but all this does is to make a large amount of space surrounding the buttons. I've not discovered how to do this with the grid geometry manager. Is it possible? Do I need to use a different geometry manager? If so, which one would be best for this application?
--
Back to
Seekers of Perl Wisdom
|
|