Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Perl Tk Notebook not filling main window height

by madhusudhan_s (Novice)
on May 25, 2017 at 10:51 UTC ( [id://1191200]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Tk Notebook not filling main window height
in thread Perl Tk Notebook not filling main window height

Thank you all for responding to my query

The usage of sticky solution suggested by tybalt89 helped me.

Here are the changes i made to the original code i pasted when i started this thread to get a neat solution.

1. added use Tk::Pane; 2. Modified Canvas in mw->Scrolled to Pane 3. Added -sticky => 'nsew' in mw->Scrolled 4. Commented usage of $canvas->createWindow, ->update and ->configure 5. Modified occurrence of $canvas to $pane to ensure variable name matches usage

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found