Kaydet (Commit) eb58f5d6 authored tarafından Guido van Rossum's avatar Guido van Rossum

Use column= rather than col=; with Tk 8.4 col= no longer works.

[SF patch 634250 -- that was an IDLEFORK patch.]
üst fbceb01e
......@@ -48,15 +48,15 @@ class SearchDialogBase:
def make_entry(self, label, var):
l = Label(self.top, text=label)
l.grid(row=self.row, col=0, sticky="w")
l.grid(row=self.row, column=0, sticky="w")
e = Entry(self.top, textvariable=var, exportselection=0)
e.grid(row=self.row, col=1, sticky="we")
e.grid(row=self.row, column=1, sticky="we")
self.row = self.row + 1
return e
def make_frame(self):
f = Frame(self.top)
f.grid(row=self.row, col=0, columnspan=2, sticky="we")
f.grid(row=self.row, column=0, columnspan=2, sticky="we")
self.row = self.row + 1
return f
......
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