in reply to Tk Buttons look

What version/platform of Perl are you using?

I am on the road and can't run Perl at the moment, but I've seen this issue before. I use Active State Perl and it looks nice with all windows having close to the MS "look and feel" of the message box. The quality of the Tk graphics has to do with how much work went into the port.

Replies are listed 'Best First'.
Re^2: Tk Buttons look
by Anonymous Monk on Jun 18, 2016 at 17:15 UTC

    Hi. I'm running 5.18 (ActivePerl) at the moment. But I guess it has nothing to do with the version (I may be wrong). I'm setting up 5.22 Strowberry Perl, too.

      That's odd. The version shouldn't matter, the difference between strawberry and Active State could. It will be Monday before I can run your code on my Win XP machine and see what it looks like. The version of Windows may matter?

      Update: I was finally able to run the code to see the issue. The MS button has slightly beveled corners whereas the Tk button has straight edges. The human eyeball picks up on this right away. although the difference is actually quite slight. The font style, spacing, border can all be dealt with and I see some code for that below. The result is "very close", but not exactly like the MS button. I don't know of any way to make a generic TK button with "rounded corners".

      You can get a consistent look to your GUI. I've never had a complaint about "looks bad". I get complaints about "hey, I wanted to do X and I couldn't figure out to do it!". Great GUI design is hard to do, but if you succeed in making something non-trivial that is genuinely easy to use, nobody will care about squared edges.

        strawberry or activestate it makes no difference to what Tk.pm does or how Tk.pm looks, they just come with different modules installed