New submission from Mark Roseman <m...@markroseman.com>:

When adding a bunch of ttk widgets into a toplevel window, there needs to be an 
intervening ttk.Frame to ensure the background of the widgets matches the 
overall background.

The reason is the 'toplevel' is part of the classic tk widgets and not ttk, so 
it isn't guaranteed to have the same background. In practice, the only platform 
where the toplevel and ttk.Frame have different backgrounds is macOS. Check out 
topframe.png for an example, top is without the intervening ttk.Frame, bottom 
adds it in.

(Adding bug mainly so we have a place to store a concrete example of what this 
looks like)

----------
assignee: terry.reedy
components: IDLE
files: topframe.png
messages: 320646
nosy: markroseman, terry.reedy
priority: normal
severity: normal
status: open
title: need ttk.Frame inside Toplevel(s)
type: enhancement
versions: Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file47655/topframe.png

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

Reply via email to