- Timestamp:
- 07/27/12 14:14:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/customgui_tkagg.py
r2603 r2609 304 304 def _get_note(self): 305 305 """Returns a note string specified in the text box""" 306 return self.textbox.get("1.0",Tk.END) 306 # A WORKAROUND for OSX 10.7 (Tk.Text returns unicode but asaplog doesn't accept it) 307 #return self.textbox.get("1.0",Tk.END) 308 return str(self.textbox.get("1.0",Tk.END)) 307 309 308 310 def _clear_textbox(self): … … 379 381 self.textwin.deiconify() 380 382 (w,h) = self.textwin.minsize() 381 if w*h <= 1: 383 # WORKAROUND for too small default minsize on OSX 10.7 384 #if w*h <= 1: 385 if w*h <= 1500: 382 386 self.textwin.minsize(width=self.textwin.winfo_width(), 383 387 height=self.textwin.winfo_height())
Note:
See TracChangeset
for help on using the changeset viewer.