[Tkinter-discuss] Control vertical position of checkbutton [x] when wrap= creates multiline checkbutton captions

python at bdurham.com python at bdurham.com
Thu Dec 2 19:52:54 CET 2010


Is it possible to control the vertical position of the
checkbutton widget's [x] when the checkbutton has multi-line
text?

It appears that Tkinter vertically centers the [x] relative to
the word-wrapped checkbutton text that spans multiple lines
(activated via the wrap= option). I would like to anchor the [x]
component of the checkbutton widget to the top of the widget, eg.
aligned with the first line of the checkbutton's caption.

Is this possible?

Thanks,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20101202/57c30586/attachment.html>


More information about the Tkinter-discuss mailing list