dmackdev/egui_json_tree

Support truncation

Closed this issue · 0 comments

It would be useful to support two kinds of truncation for the JsonTree when rendering large base values:

  • Width: truncate the rendering of the base value to a configured width, if it would exceed it.
  • Number of rows: truncate the rendering of the base value to a configured number of rows if it would exceed it.

Reference Chrome dev tools for an example of how this might look.