Documentation of some widgets still said that text size is auto-scaled by default (which isn't true as a global text size is used for the default value)

0.8
Bruno Van de Velde 2019-02-04 19:00:59 +01:00
parent 9c89d57ff0
commit bd82fe825f
5 changed files with 7 additions and 7 deletions

View File

@ -439,7 +439,7 @@ namespace tgui
///
/// @param textSize The size size of the text
///
/// By default (or when passing 0 to this function) the text will be auto-sized to nicely fit inside the combo box.
/// When passing 0 to this function, the text will be auto-sized to nicely fit inside the combo box.
///
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void setTextSize(unsigned int textSize);

View File

@ -219,7 +219,7 @@ namespace tgui
/// @brief Changes the character size of the text
///
/// @param textSize The new size of the text
/// If the size is 0 (default) then the text will be scaled to fit in the edit box.
/// If the size is 0 then the text will be scaled to fit in the edit box.
///
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void setTextSize(unsigned int textSize);

View File

@ -378,8 +378,8 @@ namespace tgui
///
/// @param textSize The character size of the text
///
/// This will not change the height that each item has. By default (or when passing 0 to this function) the text will
/// be auto-sized to nicely fit inside this item height.
/// This will not change the height that each item has.
/// When passing 0 to this function, the text will be auto-sized to nicely fit inside this item height.
///
/// @see setItemHeight
///

View File

@ -298,7 +298,7 @@ namespace tgui
/// @brief Changes the character size of the text
///
/// @param size The new size of the text
/// If the size is 0 (default) then the text will be scaled to fit in the tab.
/// If the size is 0 then the text will be scaled to fit in the tab.
///
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void setTextSize(unsigned int size);

View File

@ -226,8 +226,8 @@ namespace tgui
///
/// @param textSize The size size of the text
///
/// This will not change the height that each item has. By default (or when passing 0 to this function) the text will
/// be auto-sized to nicely fit inside this item height.
/// This will not change the height that each item has.
/// When passing 0 to this function, the text will be auto-sized to nicely fit inside this item height.
///
/// @see setItemHeight
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////