diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-07-26 23:40:31 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-07-26 23:40:31 (GMT) |
commit | 4cf85694e6a2518d48a2e211fbdc76a289be10fa (patch) | |
tree | 94372768eeb2278bc73c4f231f88f5667359b03a /Lib | |
parent | 83e6675c0d12609dbf37d7c032725cc3e6fc78ac (diff) | |
parent | e3416e6138a401c2b4cf563c935fe2788c1603f2 (diff) | |
download | cpython-4cf85694e6a2518d48a2e211fbdc76a289be10fa.zip cpython-4cf85694e6a2518d48a2e211fbdc76a289be10fa.tar.gz cpython-4cf85694e6a2518d48a2e211fbdc76a289be10fa.tar.bz2 |
Merge with 3.4
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/configDialog.py | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py index 69dbebf..f28ef3a 100644 --- a/Lib/idlelib/configDialog.py +++ b/Lib/idlelib/configDialog.py @@ -79,28 +79,26 @@ class ConfigDialog(Toplevel): page_names=['Fonts/Tabs','Highlighting','Keys','General']) frameActionButtons = Frame(self,pady=2) #action buttons - if macosxSupport.isAquaTk(): - # Surpress the padx and pady arguments when - # running as IDLE.app, otherwise the text - # on these buttons will not be readable. - extraKwds={} + # Changing the default padding on OSX results in unreadable + # text in the buttons + paddingArgs={} else: - extraKwds=dict(padx=6, pady=3) + paddingArgs={'padx':6, 'pady':3} # Comment out button creation and packing until implement self.Help ## self.buttonHelp = Button(frameActionButtons,text='Help', ## command=self.Help,takefocus=FALSE, -## **extraKwds) +## **paddingArgs) self.buttonOk = Button(frameActionButtons,text='Ok', command=self.Ok,takefocus=FALSE, - **extraKwds) + **paddingArgs) self.buttonApply = Button(frameActionButtons,text='Apply', command=self.Apply,takefocus=FALSE, - **extraKwds) + **paddingArgs) self.buttonCancel = Button(frameActionButtons,text='Cancel', command=self.Cancel,takefocus=FALSE, - **extraKwds) + **paddingArgs) self.CreatePageFontTab() self.CreatePageHighlight() self.CreatePageKeys() |