You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add fixed row height to table (with text truncation) #158
No it does not exist yet, but this sounds like a useful setting, as I am working on an improved table algorithm anyways (#41) therefore I will convert this issue in a feature request
changed the title [-]Is there a way to have hard limits for cells (ie no word wrapping)[/-][+]Add fixed row height to table (with text truncation)[/+]on Aug 23, 2019
What's the progress on this? I'm trying to find a way to create a table with square cells, and it doesn't seem like there's currently a way to do this since the cell heights can't be set.
@philprime Is this something you're still interested in? I need something similar like this, so I've started working on a solution, if you want I can create a draft PR with it. Basically, I've added the heights property to the table similar to widths, so that you can set relative row heights for a full-page table.
@philprime@marioradonic Did you two make it any further on this feature? Is there an example or branch somewhere I can take a look at? We also need this functionality so I'd be happy to contribute to this feature if either of you pointed me in the right direction.
@philprime Looking into the problem a bit more today I would actually need to support fixed width and height cells for a specific label printing spec rather than relative heights and widths. I'm thinking that TPPDF might not the right library to try to do this and rather implement the functionality with Core Graphics.
Activity
philprime commentedon Aug 22, 2019
Basically limiting the height of a cell an truncating the text?
davidhakki commentedon Aug 22, 2019
Yes i knew there was a word for it, does such options exist presently?
philprime commentedon Aug 23, 2019
No it does not exist yet, but this sounds like a useful setting, as I am working on an improved table algorithm anyways (#41) therefore I will convert this issue in a feature request
[-]Is there a way to have hard limits for cells (ie no word wrapping)[/-][+]Add fixed row height to table (with text truncation)[/+]96kaitlinburke commentedon Feb 4, 2020
What's the progress on this? I'm trying to find a way to create a table with square cells, and it doesn't seem like there's currently a way to do this since the cell heights can't be set.
philprime commentedon May 19, 2020
As of now, the new table logic is pre-release/released in
2.0.0.Therefore this is where we could start of implementing this feature
marioradonic commentedon Mar 26, 2021
@philprime Is this something you're still interested in? I need something similar like this, so I've started working on a solution, if you want I can create a draft PR with it. Basically, I've added the
heightsproperty to the table similar towidths, so that you can set relative row heights for a full-page table.philprime commentedon Mar 29, 2021
I am always happy to review PRs :)
theolampert commentedon Dec 6, 2021
@philprime @marioradonic Did you two make it any further on this feature? Is there an example or branch somewhere I can take a look at? We also need this functionality so I'd be happy to contribute to this feature if either of you pointed me in the right direction.
Edit: I found a commit here that looks like it marioradonic@19a1379
philprime commentedon Dec 7, 2021
Hi @theolampert there hasn't been any progress from my side, but still I am happy to review PRs or guide any contribution :)
theolampert commentedon Dec 7, 2021
@philprime Looking into the problem a bit more today I would actually need to support fixed width and height cells for a specific label printing spec rather than relative heights and widths. I'm thinking that TPPDF might not the right library to try to do this and rather implement the functionality with Core Graphics.
CodeSales commentedon Nov 24, 2022
Hello, how is this issue going?
brendand commentedon Nov 25, 2022
I would also love this feature. Could the code from @marioradonic be merged in with master?
philprime commentedon Dec 3, 2022
I am happy to review any proposed solutions, and even using existing code ideas to implement this. Where can I find the progress of @marioradonic?
brendand commentedon Dec 3, 2022
I found it a bit higher up in the thread:
marioradonic@19a1379