Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
9e350045
Kaydet (Commit)
9e350045
authored
Şub 12, 2009
tarafından
Ronald Oussoren
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
This fixes issue3883 (text on the buttons in the preferences panel for IDLE doesn't fit on OSX)
üst
3e264e13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
configDialog.py
Lib/idlelib/configDialog.py
+14
-4
No files found.
Lib/idlelib/configDialog.py
Dosyayı görüntüle @
9e350045
...
@@ -21,6 +21,7 @@ from idlelib.tabbedpages import TabbedPageSet
...
@@ -21,6 +21,7 @@ from idlelib.tabbedpages import TabbedPageSet
from
idlelib.keybindingDialog
import
GetKeysDialog
from
idlelib.keybindingDialog
import
GetKeysDialog
from
idlelib.configSectionNameDialog
import
GetCfgSectionNameDialog
from
idlelib.configSectionNameDialog
import
GetCfgSectionNameDialog
from
idlelib.configHelpSourceEdit
import
GetHelpSourceDialog
from
idlelib.configHelpSourceEdit
import
GetHelpSourceDialog
from
idlelib
import
macosxSupport
class
ConfigDialog
(
Toplevel
):
class
ConfigDialog
(
Toplevel
):
...
@@ -71,18 +72,27 @@ class ConfigDialog(Toplevel):
...
@@ -71,18 +72,27 @@ 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
.
runningAsOSXApp
():
# Surpress the padx and pady arguments when
# running as IDLE.app, otherwise the text
# on these buttons will not be readable.
extraKwds
=
{}
else
:
extraKwds
=
dict
(
padx
=
6
,
pady
=
3
)
self
.
buttonHelp
=
Button
(
frameActionButtons
,
text
=
'Help'
,
self
.
buttonHelp
=
Button
(
frameActionButtons
,
text
=
'Help'
,
command
=
self
.
Help
,
takefocus
=
FALSE
,
command
=
self
.
Help
,
takefocus
=
FALSE
,
padx
=
6
,
pady
=
3
)
**
extraKwds
)
self
.
buttonOk
=
Button
(
frameActionButtons
,
text
=
'Ok'
,
self
.
buttonOk
=
Button
(
frameActionButtons
,
text
=
'Ok'
,
command
=
self
.
Ok
,
takefocus
=
FALSE
,
command
=
self
.
Ok
,
takefocus
=
FALSE
,
padx
=
6
,
pady
=
3
)
**
extraKwds
)
self
.
buttonApply
=
Button
(
frameActionButtons
,
text
=
'Apply'
,
self
.
buttonApply
=
Button
(
frameActionButtons
,
text
=
'Apply'
,
command
=
self
.
Apply
,
takefocus
=
FALSE
,
command
=
self
.
Apply
,
takefocus
=
FALSE
,
padx
=
6
,
pady
=
3
)
**
extraKwds
)
self
.
buttonCancel
=
Button
(
frameActionButtons
,
text
=
'Cancel'
,
self
.
buttonCancel
=
Button
(
frameActionButtons
,
text
=
'Cancel'
,
command
=
self
.
Cancel
,
takefocus
=
FALSE
,
command
=
self
.
Cancel
,
takefocus
=
FALSE
,
padx
=
6
,
pady
=
3
)
**
extraKwds
)
self
.
CreatePageFontTab
()
self
.
CreatePageFontTab
()
self
.
CreatePageHighlight
()
self
.
CreatePageHighlight
()
self
.
CreatePageKeys
()
self
.
CreatePageKeys
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment