The New PerlTk.org - Making your Perl/Tk app look better
www.mamboteam.com
The New PerlTk.org  
Home
Friday, 18 April 2014
 
 
Main Menu
Home
Perl/Tk Widgets
Articles
Scripts
Useful Tips
Links
Contact Us
Search
FAQs
Login Form
Username

Password

Remember me
Forgotten your password?
No account yet? Create one
Making your Perl/Tk app look better PDF Print E-mail
Written by Ala Qumsieh   
The default look of Perl/Tk on *nix systems isn't very pretty. I find that single-pixel borders look much better than the default 2-pixel borders. To achieve this, simply add the following line:
$MW->optionAdd('*BorderWidth' => 1);
right after you create your MainWindow. The optionAdd() method can be extremely useful to alter the look of your app very easily. Read more about it here:
perldoc Tk::option

Comments
Written by danielshadow on 2007-06-09 12:21:16
Very nice tip... ^^ 
 
I'm use BorderWidth 1 in all Perl Tk software... 
Very good... ^^

Only registered users can write comments.
Please login or register.

Powered by AkoComment 2.0!

Next >
 
Top! Top!