From 7be889a775c778c6d862817544745c88ca543028 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 20 Jun 2017 17:18:35 +0100 Subject: [PATCH] Projucer: Fixed a bug when renaming a file or group in the file tree where the renaming box wouldn't fully cover the item's name --- extras/Projucer/Source/Utility/jucer_JucerTreeViewBase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/Projucer/Source/Utility/jucer_JucerTreeViewBase.cpp b/extras/Projucer/Source/Utility/jucer_JucerTreeViewBase.cpp index 9b3127feb1..fe100e2007 100644 --- a/extras/Projucer/Source/Utility/jucer_JucerTreeViewBase.cpp +++ b/extras/Projucer/Source/Utility/jucer_JucerTreeViewBase.cpp @@ -97,6 +97,7 @@ void JucerTreeViewBase::paintIcon (Graphics &g, Rectangle area) { g.setColour (getContentColour (true)); getIcon().draw (g, area, isIconCrossedOut()); + textX = roundToInt (area.getRight()); } void JucerTreeViewBase::paintItem (Graphics& g, int width, int height)