mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
chat line wrapping
* rework UIWidget text wrapping * implement auto wrap * fixes in console
This commit is contained in:
@@ -229,8 +229,14 @@ function Console.clear()
|
||||
channels = {}
|
||||
channels[0] = 'Default'
|
||||
|
||||
consoleTabBar:getTab('Default').tabPanel:destroyChildren()
|
||||
consoleTabBar:getTab('Server Log').tabPanel:destroyChildren()
|
||||
consoleTabBar:getTab('Default').tabPanel:getChildById('consoleBuffer'):destroyChildren()
|
||||
consoleTabBar:getTab('Server Log').tabPanel:getChildById('consoleBuffer'):destroyChildren()
|
||||
|
||||
local npcTab = consoleTabBar:getTab('NPCs')
|
||||
if npcTab then
|
||||
consoleTabBar:removeTab(npcTab)
|
||||
end
|
||||
|
||||
consoleLineEdit:clearText()
|
||||
|
||||
if channelsWindow then
|
||||
|
Reference in New Issue
Block a user