Message45785
| Author |
taleinat |
| Recipients |
| Date |
2005年08月18日.15:28:00 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=1330769
This fixes the text alignment:
(just replace te appropriate code in
toggle_code_context_event with this)
if not self.label:
self.padding_frame = Tkinter.Frame(self.editwin.top,
bg=self.bgcolor,
border=2,
relief="sunken",
)
self.label = Tkinter.Label(self.padding_frame,
text="\n" * (self.numlines - 1),
anchor="w", justify="left",
font=self.textfont,
bg=self.bgcolor, fg=self.fgcolor,
border=0,
width=1, # Don't request more
than we get
)
self.label.pack(side="top", fill="x", expand=1,
padx=4, pady=0)
self.padding_frame.pack(side="top", fill="x",
expand=0,
padx=0, pady=0,
after=self.editwin.status_bar)
else:
self.label.destroy()
self.padding_frame.destroy()
self.label = None
Sorry it's not a diff... |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:37:13 | admin | link | issue936169 messages |
| 2007年08月23日 15:37:13 | admin | create |
|