here's a snapshot of config::model (used as an example):
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheVWDfqf3fCxxuIUKOLTN0j9flMk4A0CVXLaoXS1OKZaUPDH9s2iFdNiX8xnREZmeWBCORY7SjhNfMSLzkAXuaRg-h-VPavTogd5HNs0ZJ4XpMsvAdoWtE6TA0rQKszF7Gj7NnN5KO1Z-n/s320/blog2.jpg)
now, try to insert the following line in your code:
$mw->optionAdd('*BorderWidth' => 1);
here's the result, still using config-model as guinea pig:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif2a8Edqkp7chmEU0DoinYFsLc7mUZRFzEIBvNuw43jhwHnJFdkeDF3qCpwVUcIz6aUm2Y4lxIO0T3uNTtzzfOgAJrLYtxcaaoN-3p3REJGLR2eGN88RCWkxiVCAm-40Zoq8eoB_3tXbry/s320/blog4.jpg)
look at how the buttons are crisper... now that's better, uh? :-)
thanks to ala qumsieh who first reported this tip on perltk.org - but the site seems to be down nowadays.
note: i'm told that tk 8.5 can be themed and looks native. but i'm still using perl/tk which is build against tk 8.4
No comments:
Post a Comment