Commit 4cf85694 authored by Terry Jan Reedy's avatar Terry Jan Reedy

Merge with 3.4

parents 83e6675c e3416e61
...@@ -79,28 +79,26 @@ class ConfigDialog(Toplevel): ...@@ -79,28 +79,26 @@ class ConfigDialog(Toplevel):
page_names=['Fonts/Tabs','Highlighting','Keys','General']) page_names=['Fonts/Tabs','Highlighting','Keys','General'])
frameActionButtons = Frame(self,pady=2) frameActionButtons = Frame(self,pady=2)
#action buttons #action buttons
if macosxSupport.isAquaTk(): if macosxSupport.isAquaTk():
# Surpress the padx and pady arguments when # Changing the default padding on OSX results in unreadable
# running as IDLE.app, otherwise the text # text in the buttons
# on these buttons will not be readable. paddingArgs={}
extraKwds={}
else: else:
extraKwds=dict(padx=6, pady=3) paddingArgs={'padx':6, 'pady':3}
# Comment out button creation and packing until implement self.Help # Comment out button creation and packing until implement self.Help
## self.buttonHelp = Button(frameActionButtons,text='Help', ## self.buttonHelp = Button(frameActionButtons,text='Help',
## command=self.Help,takefocus=FALSE, ## command=self.Help,takefocus=FALSE,
## **extraKwds) ## **paddingArgs)
self.buttonOk = Button(frameActionButtons,text='Ok', self.buttonOk = Button(frameActionButtons,text='Ok',
command=self.Ok,takefocus=FALSE, command=self.Ok,takefocus=FALSE,
**extraKwds) **paddingArgs)
self.buttonApply = Button(frameActionButtons,text='Apply', self.buttonApply = Button(frameActionButtons,text='Apply',
command=self.Apply,takefocus=FALSE, command=self.Apply,takefocus=FALSE,
**extraKwds) **paddingArgs)
self.buttonCancel = Button(frameActionButtons,text='Cancel', self.buttonCancel = Button(frameActionButtons,text='Cancel',
command=self.Cancel,takefocus=FALSE, command=self.Cancel,takefocus=FALSE,
**extraKwds) **paddingArgs)
self.CreatePageFontTab() self.CreatePageFontTab()
self.CreatePageHighlight() self.CreatePageHighlight()
self.CreatePageKeys() self.CreatePageKeys()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment