WTreeTable as widget does not render correctly
I am trying to reproduce the standard example of WTreeTable in the widget galery. Firstly I do not understand how one is supposed to implement the exact example as the treeTable is not placed inside any container. If I simply paste this example into any of my classes, it displays nonthing. In any case I was planning to place the tree inside a container. So I did the following small mod to the example:
// auto treeTable = Wt::cpp14::make_uniqueWt::WTreeTable();
auto treeTable = tableFooter->elementAt(1,3)->addWidget(cpp14::make_unique());
As you can see I have commented out the first line from the example and replaced it with a line declaring the tree inside a container.
This compiles and "works" but the tree table appears totally distorted. Please see pics.
NB I have tried the same with both Chrome and Firefox and the distortion is very similar and equally bad.
Any Advice appreciated.