Center ttk.Checkbox in grid column

MRAB python at mrabarnett.plus.com
Sat Jun 8 14:38:31 EDT 2019


On 2019-06-08 18:37, Rich Shepard wrote:
> On Sat, 8 Jun 2019, Rich Shepard wrote:
> 
>> A data input form (screenshot attached) has two ttk.Checkbutton widgets.
> 
> Looks like the screenshot image was clipped off the message. Is there a
> widget option for the ttk.Checkbox that horizontally and vertically centers
> the button and label text in the column width?
> 
Attachments sent to this list are removed automatically.

In answer to your question, widgets are centred by default; you have to 
tell it if you _don't_ want a widget centred horizontally or centred 
vertically.



More information about the Python-list mailing list