New submission from DDavid <zjdavid.2...@gmail.com>:

Hello,

I am building a program with Tkinter. However, I found the Optionmenu widget 
has inconsistent behaviors on default lengths on a Mac and a Windows PC. 

So I set the width of an optionmenu through menu.configure(width=70). On 
Windows, this correctly sets the menu width to 70 when the program runs. 
However, on a Mac, the menu is still very narrow at the start. It only expands 
to 70 after I select an option. 

I have attached a screenshot to help explain the issue. It does not occur on 
Windows.

----------
components: Tkinter
files: TKinter Menu issue.png
messages: 385345
nosy: zjdavid
priority: normal
severity: normal
status: open
title: Tkinter Optionmenu Too Narrow on Mac
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file49752/TKinter Menu issue.png

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42977>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to