|
|
|
@ -188,7 +188,8 @@ local ObjectBase = { |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
if regionType == "EditBox" then |
|
|
|
|
local editBox = CreateFrame("EditBox", nil, parentRegion, ...) ---@cast editBox Diesal.GUI.Region.EditBox |
|
|
|
|
local editBox = CreateFrame("EditBox", nil, parentRegion, ...) |
|
|
|
|
---@cast editBox Diesal.GUI.Region.EditBox |
|
|
|
|
-- set Default font properties |
|
|
|
|
editBox.defaultFontObject = defaultFontObject or _G.DiesalFontNormal |
|
|
|
|
editBox:SetFont(editBox.defaultFontObject:GetFont()) |
|
|
|
|