Thread Tools Display Modes
Prev Previous Post   Next Post Next
04/02/14, 10:06 AM   #1
Kian
 
Kian's Avatar
Join Date: Apr 2014
Posts: 4
Resize Chat Window

How would this be done? I'm new to LUA and addons in general. But i'm not new to programming.

I used to Zgoo to output /zgood mouse when highlighted on the chat window which produced

Code:
    ["ZO_ChatWindow"] =   < "ZO_ChatWindow" - CT_TOPLEVELCONTROL >

      (m) GetDesiredHeight() = 380
      (m) GetDesiredWidth() = 550
The desired height/width is probably just returning the already set values, but looking through the wiki, I saw:

Code:
SetWidth protected-attributes (number width)
Setheight protected-attributes (number height)
This is just a personal preference addon and if is easier to hard code the values, I will. Just need to get started

I done the MyFirst Tutorial with the counters but doesn't really help with the in-game elements.

I have created the three files:

ChatResizer.lua
ChatResizer.txt
ChatResizer.xml

Any help would be great.

Thanks,
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Resize Chat Window


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off