Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14185

ttkbootstrap.tableview.Tableview rowheight doesn't work for data rows

$
0
0

Cannot set the row height of ttkbootstrap.tableview.Tablewview data rows. I can change the heading but not the data rows.

import ttkbootstrap as ttkfrom ttkbootstrap.tableview import Tableviewfrom ttkbootstrap.constants import *app = ttk.Window()style = app.style**style.configure('Treeview.Heading', rowheight=80, font=(None, 18))style.configure('Treeview', rowheight=80, font=(None, 18))**coldata = [{"text": "LNum", "stretch": False}, "CompanyName", {"text": "UserCount", "stretch": False}, ]rowdata = [('A123', 'IzzyCo', 12), ('A136', 'Kimdee Inc.', 45), ('A158', 'Farmadding Co.', 36)]dt = Tableview(    master=app,    coldata=coldata,    rowdata=rowdata,    paginated=True,    searchable=True)dt.pack(fill=BOTH, expand=YES, padx=10, pady=10)dt.load_table_data()app.mainloop()

I expect the data row height to increase in height but it does not.


Viewing all articles
Browse latest Browse all 14185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>