Se reconnecter :
Votre nom (ou pseudo) :
Votre mot de passe

Webmaster - Infos
Aide - Aide à l'utilisation - About showing more text in the tree view

Nombre de membres 259 membres
Connectés : ( personne )
Snif !!!

Aide - Aide
Aide à l'utilisation - Aide à l'utilisation

le 16/04/2021 23:20
par lczaplys


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?
Poster une réponse Haut  
Réponse n° 1
le 17/04/2021 20:54
par favdb



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 (free version)
Poster une réponse Haut  
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message
Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter  
Catégories de discussion  Aide