Message265189
| Author |
doko |
| Recipients |
doko, gpolo, kbk, petr.viktorin, roger.serwy, serhiy.storchaka, terry.reedy, wysaard |
| Date |
2016年05月09日.10:58:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1462791496.37.0.986792206656.issue26673@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
using this as a work-around, not tested with Tcl/Tk 8.5 or older.
--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -113,7 +113,11 @@ class ConfigDialog(Toplevel):
def CreatePageFontTab(self):
parent = self.parent
- self.fontSize = StringVar(parent)
+ # see issue #26673
+ if TkVersion >= 8.6:
+ self.fontSize = IntVar(parent)
+ else:
+ self.fontSize = StringVar(parent)
self.fontBold = BooleanVar(parent)
self.fontName = StringVar(parent)
self.spaceNum = IntVar(parent) |
|