diff --git a/Source/Engine/UI/GUI/Common/Label.cs b/Source/Engine/UI/GUI/Common/Label.cs index 5ef323f23..9aae957c0 100644 --- a/Source/Engine/UI/GUI/Common/Label.cs +++ b/Source/Engine/UI/GUI/Common/Label.cs @@ -282,7 +282,7 @@ namespace FlaxEngine.GUI Render2D.PopClip(); } - Font GetFont() + private Font GetFont() { Font font; if (Bold) @@ -294,7 +294,7 @@ namespace FlaxEngine.GUI return font; } - LocalizedString ConvertedText() + private LocalizedString ConvertedText() { LocalizedString text = _text; switch (CaseOption) diff --git a/Source/Engine/UI/GUI/Common/TextBox.cs b/Source/Engine/UI/GUI/Common/TextBox.cs index 488fa594c..0343e033a 100644 --- a/Source/Engine/UI/GUI/Common/TextBox.cs +++ b/Source/Engine/UI/GUI/Common/TextBox.cs @@ -125,7 +125,7 @@ namespace FlaxEngine.GUI return font.MeasureText(ConvertedText(), ref _layout); } - Font GetFont() + private Font GetFont() { Font font; if (Bold) @@ -137,7 +137,7 @@ namespace FlaxEngine.GUI return font; } - string ConvertedText() + private string ConvertedText() { string text = _text; switch (CaseOption)