XP is just a number | |
PerlMonks |
Re: Resizing paned Tk::Canvasby LanX (Saint) |
on Mar 01, 2021 at 19:18 UTC ( [id://11128958]=note: print w/replies, xml ) | Need Help?? |
Hi I'm no Tk expert and don't know any better way, but I found this in the original TclTk documentation
When a pane is resized from outside (e.g. it is packed to expand and fill, and the containing toplevel is resized), space is added to the final (rightmost or bottommost) pane in the window. So I tried to change the order of panes in a way that your "world" pane A was at the lower right and resizing worked as intended.
I hope this workaround suites you! :)
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|