[Tkinter-discuss] Differences on Mac and Windows

Bhaskar Chaudhary bha100710 at gmail.com
Fri Feb 14 17:16:04 CET 2014


Thanks Tim/Kevin

"What if you chafe the font size to 10 on the Mac side"

Seems like this suggestion by Tim is a better way to do this. But then
there will have to be different code for different platform.

thanks
Bhaskar



On 2/14/14, Tim Jones <tjmac at tolisgroup.com> wrote:
> 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