Skip to content

Commit da550ee

Browse files
committed
fix: 修复输入框文本对齐设置问题
1 parent cf32e5b commit da550ee

File tree

1 file changed

+1
-0
lines changed
  • Boilerplate_!Base/src/lib

1 file changed

+1
-0
lines changed

Boilerplate_!Base/src/lib/UI.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5923,6 +5923,7 @@ function OO:Align(alignHorizontal, alignVertical)
59235923
if alignVertical or alignHorizontal then
59245924
for _, raw in ipairs(self.raws) do
59255925
raw = GetComponentElement(raw, 'TEXT')
5926+
or GetComponentElement(raw, 'EDIT')
59265927
or GetComponentElement(raw, 'MAIN_HANDLE')
59275928
if raw then
59285929
if alignHorizontal and raw.SetHAlign then

0 commit comments

Comments
 (0)