Closed decim92 closed 6 months ago
Is there a way to calculate the size of the JSONPreview so that we can have dynamic sizes inside UITableViewCells?
Perhaps you could get the full height in the preview(_: style: completion:)
callback via the jsonTextView.contentSize
property. Then refresh your UITableView view to use the latest height value.
Also, is there a way to disable the line number column?
Unfortunately, there is no way to do this at the moment. If you need it, I think I can add it subsequently and the feature should be easy to implement.
Version 2.1.0 will provide the function of hiding line numbers. I will close this issue after it is released
Is there a way to calculate the size of the JSONPreview so that we can have dynamic sizes inside UITableViewCells?
Also, is there a way to disable the line number column?