Input Field Workaround

"Fixed" the bug causing input fields to layout wrong when their text property is set
This commit is contained in:
hyperion51 2020-06-07 22:26:22 +01:00
commit e607ff3eb0
4 changed files with 784 additions and 10 deletions

View file

@ -217,7 +217,7 @@ MonoBehaviour:
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_firstOverflowCharacterIndex: -1
m_firstOverflowCharacterIndex: 0
m_linkedTextComponent: {fileID: 0}
m_isLinkedTextComponent: 0
m_isTextTruncated: 0
@ -246,7 +246,7 @@ MonoBehaviour:
spaceCount: 0
wordCount: 1
linkCount: 0
lineCount: 1
lineCount: 5
pageCount: 1
materialCount: 1
m_isUsingLegacyAnimationComponent: 0
@ -646,7 +646,7 @@ MonoBehaviour:
m_CaretWidth: 1
m_ReadOnly: 0
m_RichText: 1
m_GlobalFontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_GlobalFontAsset: {fileID: 11400000, guid: 9dcd07b95faae7641a3ff6fccab43c32, type: 2}
m_OnFocusSelectAll: 1
m_ResetOnDeActivation: 1
m_RestoreOriginalTextOnEscape: 1