git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Center ttk.Checkbox in grid column


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.