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

Added text translation to KeyMappingEditorComponent.

This commit is contained in:
jules 2013-06-26 11:08:37 +01:00
parent 4aef778da6
commit ed09493cd2

View file

@ -234,7 +234,7 @@ public:
g.setFont (getHeight() * 0.7f);
g.setColour (findColour (KeyMappingEditorComponent::textColourId));
g.drawFittedText (owner.getCommandManager().getNameOfCommand (commandID),
g.drawFittedText (TRANS (owner.getCommandManager().getNameOfCommand (commandID)),
4, 0, jmax (40, getChildComponent (0)->getX() - 5), getHeight(),
Justification::centredLeft, true);
}