1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Projucer: Fixed an issue where the TextEditor overlay when renaming file groups was offset slightly

This commit is contained in:
ed 2017-12-28 12:27:07 +00:00
parent e6267afaae
commit 4123188367
2 changed files with 6 additions and 5 deletions

View file

@ -96,7 +96,7 @@ void JucerTreeViewBase::paintIcon (Graphics &g, Rectangle<float> area)
{
g.setColour (getContentColour (true));
getIcon().draw (g, area, isIconCrossedOut());
textX = roundToInt (area.getRight());
textX = roundToInt (area.getRight()) + 7;
}
void JucerTreeViewBase::paintItem (Graphics& g, int width, int height)