From 004ba9c870e7851452d6091bcd549618623b5d7d Mon Sep 17 00:00:00 2001 From: Jim Westfall Date: Wed, 5 Nov 2014 13:51:51 -0800 Subject: [PATCH] Force all pTree.Tree.RTree to have aleast some width. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes ToSort not having the "└" in the tree view. --- ROMVault2/rvTree.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROMVault2/rvTree.cs b/ROMVault2/rvTree.cs index 28e0a57..72af6d3 100644 --- a/ROMVault2/rvTree.cs +++ b/ROMVault2/rvTree.cs @@ -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);