mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
chat line wrapping
* rework UIWidget text wrapping * implement auto wrap * fixes in console
This commit is contained in:
@@ -37,7 +37,6 @@ local function displayMessage(msgtype, msg, time)
|
||||
|
||||
if msgtype.wrap then
|
||||
label:setWidth(label:getParent():getWidth())
|
||||
label:wrapText()
|
||||
label:setHeight(label:getTextSize().height)
|
||||
else
|
||||
label:resizeToText()
|
||||
|
Reference in New Issue
Block a user