Author Topic: Text Wrap in Tree View (for longish descriptions / notes)  (Read 424 times)

0 Members and 1 Guest are viewing this topic.

Offline nzdzeni

  • VIP
  • Newbie
  • *
  • Posts: 2
    • View Profile
Text Wrap in Tree View (for longish descriptions / notes)
« on: December 18, 2019, 09:15:26 »
Hi,

I've recently started using Ancestris and so far, so good.  After watching a number of the tutorial videos, I have set up a custom blue print which is mostly doing what I want it to do.  Thing is, for some of the people (individuals) in my tree, there are interesting notes that I'd like to display.  Right now, I can get the note / description to display BUT the text does not wrap so if the description is longer than a few words, then the words are cut off in the tree view (although the actual note is not affected).

Is there a way to get this text to display so that it wraps?  there is space in the box and increasing the height of the box has no affect on this issue.  Increasing the width would work BUT I'd then have insanely wide boxes which is not what is wanted.

Any ideas?  I'm a web designer and am very comfortable with html so feel free to get as technical as necessary (although simple is, of course, better).

Thanks in advance

Jennifer

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 1 182
    • View Profile
Re : Text Wrap in Tree View (for longish descriptions / notes)
« Reply #1 on: December 18, 2019, 09:44:15 »
Hi Jennifer,

Thank you for your interest in Ancestris.
I think we have never thought about text wrapping in graphical tree view.
Each tag is foreseen to display directly without trying to add new line to fit the width box size.

We have to look into the code to be sure if it's possible to do this kind of stuff without break all the behavior.

Zurga





Offline nzdzeni

  • VIP
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Text Wrap in Tree View (for longish descriptions / notes)
« Reply #2 on: December 18, 2019, 19:18:28 »
Thanks for the speedy response.  It would be really nice to have that option - perhaps the text could be wrapped but if the box were too small, then the text would be cut off?  I guess it depends on whether doing this is possible.

Another option could be to have the first part of the text displaying and then allow users to click on it / hover over it to see the rest.  This is not the best solution as it brings its own complexities and could have implications for when the tree is published to a website (or other format).

Ancestris is a great tool and I'm really grateful for all of the effort that has gone into creating and maintaining it.