We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding new lines (\n) produces a huge margin around text bubbles. Natural line breaks don't cause this issue:
without manual line breaks the margin stays constant:
Code:
void main() { object oItem = GetObjectByTag("TEST_SWORD"); string sItemTooltip = "Frostwind\n"; sItemTooltip += "Cryptic Sword\n"; sItemTooltip += "One-Hand Damage: 16 to 251\n"; sItemTooltip += "Durability: 44 of 44\n"; sItemTooltip += "Required Dexterity: 109\n"; sItemTooltip += "Required Strength: 99\n"; sItemTooltip += "Required Level: 70\n"; sItemTooltip += "Sword Class - Very Fast Attack Speed\n"; sItemTooltip += "+25% increased Attack Speed\n"; sItemTooltip += "+227% Enhanced Damage\n"; sItemTooltip += "Adds 237-486 Cold Damage\n"; sItemTooltip += "+10 to Arctic Blast\n"; sItemTooltip += "Freezes Target +4\n"; sItemTooltip += "Cold Absorb 15%\n"; sItemTooltip += "Half Freeze Duration"; SetObjectUiDiscoveryMask(oItem, OBJECT_UI_DISCOVERY_TEXTBUBBLE_MOUSEOVER); SetObjectTextBubbleOverride(oItem, OBJECT_UI_TEXT_BUBBLE_OVERRIDE_REPLACE, sItemTooltip); }
No response
37-11
Linux
Steam
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Adding new lines (\n) produces a huge margin around text bubbles. Natural line breaks don't cause this issue:
without manual line breaks the margin stays constant:
Code:
Custom content or overrides used
No response
Game version
37-11
First seen on game version
No response
OS
Linux
Distribution
Steam
The text was updated successfully, but these errors were encountered: