Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Resizing paned Tk::Canvas

by LanX (Saint)
on Mar 01, 2021 at 19:18 UTC ( [id://11128958]=note: print w/replies, xml ) Need Help??


in reply to Controlling resize of Tk::Panedwindow

Hi

I'm no Tk expert and don't know any better way, but I found this in the original TclTk documentation

RESIZING PANES

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.

+-----------+ | C | +---+-------+ | | | | B | A | | | | +---+-------+
I hope this workaround suites you! :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11128958]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-19 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found