[Tkinter-discuss] Differences on Mac and Windows

Tim Jones tjmac at tolisgroup.com
Fri Feb 14 17:01:46 CET 2014


What if you chafe the font size to 10 on the Mac side?  That always works for me.

Tim

On Feb 14, 2014, at 8:47 AM, Bhaskar Chaudhary <bha100710 at gmail.com> wrote:

> Thanks Kevin
> 
> So what do you suggest to make it render compatibly on both platforms.
> Do we need to remove font="Times 8 bold" from mytext as follows:
> 
> mytext = Text(root, background='#101010', foreground="#D6D6D6",
> borderwidth=18, relief='sunken',width=16, height=5)
> 
> Does that render properly on Mac.
> I do not have a Mac and would be a great help if you suggest changes
> that will make the text area occupy all the place as it does on
> Window.
> 
> rgds
> Bhaskar
> 
> On 2/14/14, Kevin Walzer <kw at codebykevin.com> wrote:
>> On 2/14/14, 10:21 AM, Bhaskar Chaudhary wrote:
>>> Hi Kevin
>>> 
>>> On Windows it looks like the following attachment.
>>> 
>>> regards
>>> Bhaskar
>> 
>> Thank you. As I expected, that is simply the difference in the font
>> rendering engines on both platforms. 8 point Times Bold is as unreadable
>> on Word on the Mac is it is in Tk.
>> 



More information about the Tkinter-discuss mailing list