mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added a TextEditor::getTextToShowWhenEmpty() method
This commit is contained in:
parent
bbbb1719f9
commit
c6502e2a83
1 changed files with 6 additions and 0 deletions
|
|
@ -279,6 +279,12 @@ public:
|
|||
*/
|
||||
void setTextToShowWhenEmpty (const String& text, Colour colourToUse);
|
||||
|
||||
/** Returns the text that will be shown when the text editor is empty.
|
||||
|
||||
@see setTextToShowWhenEmpty
|
||||
*/
|
||||
String getTextToShowWhenEmpty() const noexcept { return textToShowWhenEmpty; }
|
||||
|
||||
//==============================================================================
|
||||
/** Changes the size of the scrollbars that are used.
|
||||
Handy if you need smaller scrollbars for a small text box.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue