Thread Tools Display Modes
08-09-09, 04:27 AM   #1
Djinn.Crimsora
An Aku'mai Servant
Join Date: Aug 2009
Posts: 31
Exclamation Chatbox...

I've got a simple question:

How do I prevent the nUI mod from resetting the location of my primary chatbox? I prefer keeping it up in the top-center, but every time I log out and back in, it defaults back to the bottom left where I keep my loot window.

I ask this purely out of not wanting to completely mess up the mod by searching for the method myself even though I could probably do it.
 
08-09-09, 06:44 AM   #2
neuralassassin
A Scalebane Royal Guard
 
neuralassassin's Avatar
Join Date: Sep 2008
Posts: 423
Im not sure that there is a way through editing the lua probably but you ll have to wait for scott or some one else to answer but have you tried locking the chat box after you moved it?
__________________

 
08-09-09, 07:29 AM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
You'll need to edit [ Interface > AddOns > nUI > Layouts > Default > nUI_Layout_Default_Dashboard.lua ] and look for the nUI_DefaultConfig.ChatFrame section near the top.

The anchor section is what controls the location of the chat box. You can play with that to move it. The height and width are defined in the options section. However, I do believe other elements of the dashboard are anchored to the location of the chat box, so I suspect that when you move the chat box, they are going to move as well.

I realize you are used to the loot window being down there and the chat window being at the top and people are naturally resistant to change. However, I'm going to suggest you think carefully about what you're planning to do. The chat frame is *always* visible, the loot window is only visible for a few seconds every once and a while... why cover up the world frame with something that's always there so you can put something that's usually not there in the area of the dashboard that you can never see the world frame in? The chat frame covers a large section of the screen and most of the time you'll have an empty black box where the loot window would be. Seriously... consider doing it the other way around and having the loot window in the upper left and leave the chat frame in the dashboard.

That said... to each their own and nUI has been designed to let you do with it as you will... I just think you may want to think about the effect your choice has on the viewable area of the world.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
08-09-09, 11:35 AM   #4
Djinn.Crimsora
An Aku'mai Servant
Join Date: Aug 2009
Posts: 31
I'll see what I can do in that file.

As to the chatboxes: the loot chatbox I created actually acts like the normal chatbox, always being visible and sharing other key elements with the main chatbox. As to why i want the main box elsewhere, it's not that I'm resistant to change but rather that it has to do with my vision. Due to my being visually impaired, I need to have my chatbox at eye-level on the screen.

I'll let you guys know if either of these suggestions work.
 
08-09-09, 01:19 PM   #5
Djinn.Crimsora
An Aku'mai Servant
Join Date: Aug 2009
Posts: 31
So far no luck; locking the chatbox in place doesn't work, and no luck in redirecting the default LUA file to put it where I want it.

Gonna continue to work at this... Hopefully it won't take me long to crack it.
 
08-09-09, 02:28 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
o.O

If you are editing the correct file, then that is what tells nUI where to locate the chat frame. If you change the values of xOfs and yOfs (horizontal and vertical offsets from the anchor point) then the box will move. That *is* the data that tells nUI where to locate it... so if you change it, nUI will put it somewhere else... has nothing to do with locking or not locking the chat frame.

Make sure you're editing in the correct path... on a Vista machine, that's normally [ C: > Users > Public > Games > World of Warcraft > Interface > AddOns > nUI > Layouts > Default ] and on a XP machine, it's normally [ C: > Program Files > World of Warcraft > Interface > AddOns > nUI > Layouts > Default ]
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
08-09-09, 02:34 PM   #7
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Here... the attached file should place the chat frame in the top left.

Note that it does conflict with the quest tracking frame there... but you cant clean that up I presume.

.
Attached Files
File Type: lua nUI_Layout_Default_Dashboard.lua (16.6 KB, 663 views)
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
08-09-09, 02:50 PM   #8
Djinn.Crimsora
An Aku'mai Servant
Join Date: Aug 2009
Posts: 31
Thanks a lot for that; I was editing the correct field but for some reason the changes weren't sticking. I can work with it being the the top left, since the quest tracker doesn't want to obey even when no mods are active.
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » Chatbox...


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