Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b45b1e

Browse files
committed
macdinking
1 parent 2dd4d16 commit 6b45b1e

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

Mac/Tools/IDE/ModuleBrowser.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ class _modulebrowser:
1010
def __init__(self):
1111
self.editmodules = []
1212
self.modules = []
13-
self.window = W.Window((194, 1000), "Module Browser", minsize = (194, 160), maxsize = (340, 20000))
13+
self.window = W.Window((210, 1000), "Module Browser", minsize = (210, 160), maxsize = (340, 20000))
1414

15-
#self.window.bevelbox = W.BevelBox((0, 0, 0, 56))
16-
self.window.openbutton = W.Button((10, 8, 80, 16), "Open", self.openbuttonhit)
17-
self.window.browsebutton = W.Button((100, 8, 80, 16), "Browse\xc9", self.browsebuttonhit)
18-
self.window.reloadbutton = W.Button((10, 32, 80, 16), "Reload", self.reloadbuttonhit)
19-
self.window.openotherbutton = W.Button((100, 32, 80, 16), "Open other\xc9", self.openother)
15+
self.window.openbutton = W.Button((10, 8, 90, 16), "Open", self.openbuttonhit)
16+
self.window.browsebutton = W.Button((110, 8, 90, 16), "Browse\xc9", self.browsebuttonhit)
17+
self.window.reloadbutton = W.Button((10, 32, 90, 16), "Reload", self.reloadbuttonhit)
18+
self.window.openotherbutton = W.Button((110, 32, 90, 16), "Open other\xc9", self.openother)
2019

2120
self.window.openbutton.enable(0)
2221
self.window.reloadbutton.enable(0)

Mac/Tools/IDE/PyEdit.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def getfilename(self):
174174
return '<%s>' % self.title
175175

176176
def setupwidgets(self, text):
177-
topbarheight = 24
177+
topbarheight = 28
178178
popfieldwidth = 80
179179
self.lastlineno = None
180180

@@ -197,9 +197,9 @@ def setupwidgets(self, text):
197197

198198
self.bevelbox = W.BevelBox((0, 0, 0, topbarheight))
199199
self.hline = W.HorizontalLine((0, topbarheight, 0, 0))
200-
self.infotext = W.TextBox((175, 6, -4, 14), backgroundcolor = (0xe000, 0xe000, 0xe000))
201-
self.runbutton = W.Button((5, 4, 80, 16), runButtonLabels[0], self.run)
202-
self.runselbutton = W.Button((90, 4, 80, 16), runSelButtonLabels[0], self.runselection)
200+
self.infotext = W.TextBox((175, 7, -4, 14), backgroundcolor = (0xe000, 0xe000, 0xe000))
201+
self.runbutton = W.Button((6, 5, 60, 16), runButtonLabels[0], self.run)
202+
self.runselbutton = W.Button((78, 5, 90, 16), runSelButtonLabels[0], self.runselection)
203203

204204
# bind some keys
205205
editor.bind("cmdr", self.runbutton.push)

0 commit comments

Comments
 (0)