classification
Title: Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set
Type: behavior Stage:
Components: Tkinter Versions: Python 2.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: iarspider
Priority: normal Keywords:

Created on 2010-10-31 02:10 by iarspider, last changed 2010-11-01 18:23 by iarspider.

Files
File name Uploaded Description Edit
Project5.py iarspider, 2010-10-31 02:10 Code to reproduce problem
Messages (4)
msg120030 - (view) Author: Ivan Razumov (iarspider) Date: 2010-10-31 02:10
OS: Windows 7 x86
Python: 2.6.4

An Entry with both Font and Foreground properties changed (i.e. not OS-default) does not display text set with textvariable.set method. 

Attached an example of such behavior.
msg120031 - (view) Author: Ivan Razumov (iarspider) Date: 2010-10-31 02:34
The bug only appears if "Align" is not "Left".
msg120032 - (view) Author: Ivan Razumov (iarspider) Date: 2010-10-31 02:34
Typo: align -> Justify
msg120151 - (view) Author: Ivan Razumov (iarspider) Date: 2010-11-01 18:23
The bug doesn't seem to be Windows-specific - tested on Ubuntu 10.10 (Python 2.6.6)
History
Date User Action Args
2010-11-01 18:23:03iarspidersetmessages: + msg120151
2010-10-31 02:34:41iarspidersetmessages: + msg120032
2010-10-31 02:34:30iarspidersettitle: Entry text not set if all of 'Font', 'Foreground' and 'Align' are set -> Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set
2010-10-31 02:34:08iarspidersetmessages: + msg120031
2010-10-31 02:33:00iarspidersettitle: Entry text not set if both 'Font' and 'fg' are set -> Entry text not set if all of 'Font', 'Foreground' and 'Align' are set
2010-10-31 02:10:54iarspidercreate