oStorybook

[en]  Accueil  En cours  Nouvelles  Liens  Aide
Aide - Sujet n°214

Sujet n°214 About showing more text in the tree view
    - par lczaplys le 16/04/2021 23:20

In the tree view, is it possible to set the chapter or scene title that appears in the tree view to show more text? For example, a scene title shows “Betty returns to Stony Brook to talk with her sister” yet the tree view only shows “Betty returns to Stony…” This would make the tree view more useful for outlining, perhaps?

Réponse n° 1
    - par favdb le 17/04/2021 20:54

Hello,

Your suggestion, quite justified, led me to make several observations.

a) when notes are associated with an element, it is usually indicated by a *. In the case of a truncation of the name this * disappears. So I decided to put it as the first character.
b) the standard operation of the JTree implies a truncation on the first space encountered. For a scene this is replaced by a 30 characters truncation. For the other elements the regular truncation, on the first space, is applied. So I modified the code to apply the same rule for all element types (first 30 characters). In addition I will add a preference to request that the truncation is neutralized.

Thank you very much for your suggestion.

Translated with www.DeepL.com/Translator (free version)

Retour à la liste des sujets
Haut

freeguppy.org © 2004-2015 En savoir plus ... Valid CSS 3