in reply to Tk Buttons look

I have notice the buttons creating by the standard Tk::Dialogbox look very nice, for example on my Windows 10 PC. Normal TK buttons created with Button... no.

To me they look identical, one just has more padding than the other ...is that what you see?

Replies are listed 'Best First'.
Re^2: Tk Buttons look
by Discipulus (Canon) on Jun 18, 2016 at 21:26 UTC
    I confirm: the show button created with $mw->Button is square an old fashioned Tk one while the Ok button created by the $mw->messageBox is identical to other buttons of the oerating system.
    #ver && perl -v Microsoft Windows [Versione 6.1.7601] #aka win 7 This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x +86-multi-thread

    The question is legitimate. But also my question is: how can I force $mw->messageBox to display good old squarish buttons as all other Tk functions?

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

      But also my question is: how can I force $mw->messageBox to display good old squarish buttons as all other Tk functions?

      You can't, messageBox is a convenience function inside Tk.pm, so you have to write your own, kinda tricky

      I confirm: the show button created with $mw->Button is square an old fashioned Tk one while the Ok button created by the $mw->messageBox is identical to other buttons of the oerating system.

      What does that mean? Can you put up a screenshot on imgur?