FontSize||doc136524

September 20, 2022

Format

Editbox.FontSize

Describe

Enter the font size of the box text.

Code Example

image.png

-- create layout window
local APIRootWindow = UI:CreateGUIWindow("API")

--Set the window to the root node of the UI
APIRootWindow.Parent = UI.Root

--According to the name to get the Editobox control for testing
local editbox = APIRootWindow.APIEditbox

--Set the text font size of the input box control
editbox.FontSize = 36