Hi

The following piece of code displays correctly on Windows PC but it
displays all messed up in OS X (10.9.1 and others) as shown in
attachment below.

from Tkinter import *
root = Tk()
root.geometry('142x280+150+200')
root.configure(background='#4D4D4D')
mytext = Text(root, background='#101010', foreground="#D6D6D6",
borderwidth=18, relief='sunken',width=16, height=5, font="Times 8
bold" )
mytext.insert(END, "Style is knowing \nwho you are, what \nyou want to
say, \nand not giving a \ndamn.")
mytext.grid(row=0, column=0, columnspan=6, padx=5, pady=5)
root.mainloop()

Any reasons why it shows the way it does on Mac.
Thanks.

Version Info:
Python 2.7.3
>>>> Tkinter.__version__
> '$Revision: 81008 $'
>>>> Tkinter.TclVersion
> 8.5
>>>> Tkinter.TkVersion
> 8.5

regards
Bhaskar Chaudhary

<<attachment: tkwindows.png>>

<<attachment: tkmac.png>>

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to