Force all pTree.Tree.RTree to have aleast some width.

This fixes ToSort not having the "└" in the tree view.
This commit is contained in:
Jim Westfall
2014-11-05 13:51:51 -08:00
parent c82f688adc
commit 004ba9c870

View File

@@ -60,7 +60,7 @@ namespace ROMVault2
pTree.Tree.TreeBranches = pTreeBranches;
pTree.Tree.RTree = new Rectangle(0, _yPos - 8, nodeDepth * 18, 16);
pTree.Tree.RTree = new Rectangle(0, _yPos - 8, 1 + nodeDepth * 18, 16);
pTree.Tree.RExpand = new Rectangle(5 + nodeDepth * 18, _yPos + 4, 9, 9);
pTree.Tree.RChecked = new Rectangle(20 + nodeDepth * 18, _yPos + 2, 13, 13);
pTree.Tree.RIcon = new Rectangle(35 + nodeDepth * 18, _yPos, 16, 16);