Hello.
I have some problems.
I use Tree widget in my project and I would like to set rules wrap words.
I try to use attribute wordWrap in Gegi but it don't work. The attribute have modes: true or false.
Also, I opened help (Tree widget functions->wordWrap) and saw that the description is this function for TextEdit widget.
I use 3.16 P012
My code:
TREE1.addColumn("1");
TREE1.addColumn("2");
TREE1.addColumn("3");
TREE1.setColumnWidthMode(0, TREE_WIDTH_MANUAL);
TREE1.setColumnWidth(0, 100);
TREE1.appendItem("", "A", "First");
TREE1.setOpen("A", true);
TREE1.appendItem("", "B", "Second");
TREE1.setOpen("B", true);
TREE1.appendItem("A", "AA", "one two three four five.");
TREE1.appendItem("B", "BB", "one two three four five.");
Tree widget
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Tree widget
For the word wrap to work you must disable the 'textElideMode', but the row height remained the same. So you might need to report this officially as a bug.