10-03-2019, 01:14 PM
We've never gotten around to making this more official. There is a hack that will get this much of the way, but I am not sure if it will work with all of the table elements.
Passing this "extra_data" into the TableLayoutWdg
extra_data={
"min_height": "16px",
"single_line": "true",
},
will do mostly what you want. The min_height sets the mininum height of the cell and single line removes wordwrap. Without single line, centering can look weird if you have very large amount of data in the cells.
Passing this "extra_data" into the TableLayoutWdg
extra_data={
"min_height": "16px",
"single_line": "true",
},
will do mostly what you want. The min_height sets the mininum height of the cell and single line removes wordwrap. Without single line, centering can look weird if you have very large amount of data in the cells.