@@ -660,7 +660,10 @@ def _set_image_for_button(self, button):
660
660
661
661
def _Button (self , text , image_file , toggle , command ):
662
662
if not toggle :
663
- b = tk .Button (master = self , text = text , command = command )
663
+ b = tk .Button (
664
+ master = self , text = text , command = command ,
665
+ relief = "flat" , overrelief = "groove" , borderwidth = 1 ,
666
+ )
664
667
else :
665
668
# There is a bug in tkinter included in some python 3.6 versions
666
669
# that without this variable, produces a "visual" toggling of
@@ -669,8 +672,10 @@ def _Button(self, text, image_file, toggle, command):
669
672
# https://bugs.python.org/issue25684
670
673
var = tk .IntVar (master = self )
671
674
b = tk .Checkbutton (
672
- master = self , text = text , command = command ,
673
- indicatoron = False , variable = var )
675
+ master = self , text = text , command = command , indicatoron = False ,
676
+ variable = var , offrelief = "flat" , overrelief = "groove" ,
677
+ borderwidth = 1
678
+ )
674
679
b .var = var
675
680
b ._image_file = image_file
676
681
if image_file is not None :
0 commit comments