User:Magol/tree test

Proposed implementation from Michael_B


 root  row1 Description1 row2 Description2. The description can be long, and need to be on multiple lines. bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla row3 Description3 <li class="nested-content">row3.1</li> <li class="nested-description">Description3.1</li> <li class="nested-content lastline">row3.2</li> <li class="nested-description">Description3.2</li> row4</li> <li>Description4</li> </ul> </li> </ul>

Pros Cons
 * Text is not overwritten
 * Line in tree is interrupted
 * Should not be any tree in the description column
 * Description width is to narrow
 * Source code is not logical as "content" and description is mixed in the same list and as the levels is removed
 * Can not add more levels then one (want to have optional number of levels as long as it fit)

My implementation

 * root
 * row1 Description1
 * row2 Description2. The description can be long, and need to be on multiple lines. bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 * row3 Description3
 * row3.1 Description3.1
 * row3.1.1 Description3.1.1
 * row3.2 Description3.2
 * row4 Description4

Cons
 * Text is overwritten