ttk.Treeview - Can't change row height

前端 未结 3 1098
余生分开走
余生分开走 2021-01-18 04:12

I\'m using ttkcalendar.py which can be found in this link.

I\'ve adapted it for use in Python 3.3

Basically what i\'m trying to do

3条回答
  •  误落风尘
    2021-01-18 04:49

    How can I change the height of the rows in the treeview as in prevoius attempts font size can be increased but the row height does not increase with font size. - STILL AWAITING HELP

    In case you are still awaiting help on this one, there is a way to change the row height, though that google groups thread says that it isn't officially supported by Tk:

    #apply any configuration options
    ttk.Style().configure('Treeview',rowheight=30)
    

提交回复
热议问题