Page 1 of 1

Cells as percentage instead of auto

Posted: Sat Feb 13, 2021 12:06 am
by jgkoehn
Greetings,
I need my cells in a 100% table to be as a percentage. I am working with the html/xhtml importer and adjusting it to our needs.
I know that by default a cell's best width appears to be 0. I do not know the percent width of the cells but need it to be done. Can I set all cells to BestWidth:=-1 and the table being 100% will adjust for this?

Re: Cells as percentage instead of auto

Posted: Sat Feb 13, 2021 12:16 am
by jgkoehn
I think I figured it out to be a different problem. Not this thanks!

Re: Cells as percentage instead of auto

Posted: Sat Feb 13, 2021 5:05 pm
by Sergey Tkachenko
Negative values of BestWidth mean width defined in percent.
BestWidth = -1 means 1%

Re: Cells as percentage instead of auto

Posted: Sat Feb 13, 2021 6:00 pm
by jgkoehn
Greetings Sergey,
I figured as much and auto seems to work in our case.