Thread Tools Display Modes
Unread 04-21-09, 09:26 AM   #1
Mad Ghost
A Defias Bandit
Join Date: Apr 2009
Posts: 2
Right Chat Box; Setting The Font Size

The left side chat box works fine. However, is there a way to have the Combat Log, Guild Chat Log, Hit's Mode Log, and all the other chat windows on the right side retain the user's font size?

I keep going to each window and setting it to 10. When I reload the UI or log back on, it resets to 11.
Mad Ghost is offline  
Unread 04-21-09, 09:41 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I'm not sure why these settings don't save -- now... to be sure... the HitsMode and GuildChat plugins for the info frame are not my code, but the combat log is. I don't recall, but perhaps I'm tweaking the font in it. If I am, I'll fix it, but otherwise I'm not sure why the settings keep reverting.
__________________

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/
spiel2001 is offline  
Unread 04-21-09, 09:46 AM   #3
Duchess
An Aku'mai Servant
Join Date: Jul 2008
Posts: 34
Originally Posted by Mad Ghost View Post
The left side chat box works fine. However, is there a way to have the Combat Log, Guild Chat Log, Hit's Mode Log, and all the other chat windows on the right side retain the user's font size?

I keep going to each window and setting it to 10. When I reload the UI or log back on, it resets to 11.
This happens to me also. Just the right side I will have to go in and reset the font size every time I log in. It' won't stick

I do not have the guildchat or other addons installed so it wouldn't be those.
Duchess is offline  
Unread 04-21-09, 09:49 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Oh yeah... I know it's not them causing it, I was just saying I can't fix it in them because they aren't my code. But I will look at the combat log panel.
__________________

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/
spiel2001 is offline  
Unread 04-21-09, 02:39 PM   #5
Duchess
An Aku'mai Servant
Join Date: Jul 2008
Posts: 34
Originally Posted by spiel2001 View Post
Oh yeah... I know it's not them causing it, I was just saying I can't fix it in them because they aren't my code. But I will look at the combat log panel.
Okie dokie artichokie
Duchess is offline  
Unread 04-21-09, 03:34 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Did you just call me a flaky vegetable?
__________________

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/
spiel2001 is offline  
Unread 04-21-09, 08:09 PM   #7
Duchess
An Aku'mai Servant
Join Date: Jul 2008
Posts: 34
Originally Posted by spiel2001 View Post
Did you just call me a flaky vegetable?
Nah, I would never call you a vegetable
Duchess is offline  
Unread 04-22-09, 03:05 AM   #8
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,035
Looking at the guild chat window the only thing I can see causing the problem is this block of code. I'm not seeing anything that saves anything in this part of the code and if I recall rightly I based it on the minimap and combat log windows so I will see if I can spot something I can add to do that specifically.

Until then I assume that if you adjust the fontsize in the block of code near the top of the lua file it will keep to that size.

Code:
nUI_InfoPanels[nUI_INFOPANEL_GUILDCHAT] =
{	
	enabled   = true,
	desc      = nUI_L[nUI_INFOPANEL_GUILDCHAT],		-- player friendly name/description of the panel
	label     = nUI_L[nUI_INFOPANEL_GUILDCHAT.."Label"],	-- label to use on the panel selection button face
	rotation  = nUI_INFOMODE_GUILDCHAT,			-- index or position this panel appears on/in when clicking the selector button
	full_size = true;					-- this plugin requires the entire info panel port without the button bag	
	options  =
	{
		enabled  = true,
		fontsize = 11,
		btn_size = 45,
		btn_gap  = -8,
	},
};
Xrystal is offline  
Unread 04-22-09, 04:17 AM   #9
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yeah -- I'm thinking I do now that I look at that. I'll get into the code and fix it as soon as I can.
__________________

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/
spiel2001 is offline  
Unread 04-23-09, 10:19 AM   #10
wreck
A Flamescale Wyrmkin
 
wreck's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2009
Posts: 114
While you are looking at the Guild Chat add on my wife has had a problem I think stems from that. She tried the addon and decided it wasn't useful for her. She disabled it and now whenever she logs in the extra Guild chat window pops up in the middle of here screen. I suspect after the addon is disabled you no longer move the window, but you leave it open.

Trouble is we have manually clicked and closed the window, but next time she logs in it is back. She finally reinstalled the addon so the window would at least get sucked back down to the info panel and she can just ignore it. However, she would rather just be rid of it.
wreck is offline  
Unread 04-23-09, 10:26 AM   #11
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
To be sure -- that Guild Chat addon is not my addon.

However, there is an option in the settings tab that needs to be used to permanently remove the window. Failing that, you can unlock it and drag it's settings tab over to the main chat frame's settings tab and drop it there, that will dock it on the main chat frame and she won't have to keep the Guild Chat mod installed.

It may also require setting up the main chat frame to handle guild chat messages again which may account for why the window keeps getting recreated.
__________________

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/
spiel2001 is offline  
Unread 04-23-09, 04:21 PM   #12
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,035
Hmm, yeah, I noticed that too when I removed my addons for testing and found that once I removed the window it seemed to solve the problem of an empty chat window.

I've not figured out yet how to get it to remove the window as once it is manually turned off the addon isn't running and thus my code wouldn't be active to set that up.

Is there anything you can suggest I need to do Scott for that to work ?
Xrystal is offline  
Unread 04-23-09, 04:24 PM   #13
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
What you can do is to record the size, location and options for the window when your mod first loads and then in the "PLAYER_LOGOUT" event reset them... that's what I'm planning on doing with the combat log and main chat frame so they "reset" when nUI isn't enabled.

That said, there's no other way to do it that I know of.
__________________

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/
spiel2001 is offline  
Unread 04-23-09, 04:38 PM   #14
wreck
A Flamescale Wyrmkin
 
wreck's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2009
Posts: 114
Originally Posted by spiel2001 View Post
What you can do is to record the size, location and options for the window when your mod first loads and then in the "PLAYER_LOGOUT" event reset them... that's what I'm planning on doing with the combat log and main chat frame so they "reset" when nUI isn't enabled.

That said, there's no other way to do it that I know of.
Cool, one of the other things we noticed is that when we disabled nUI to figure out another issue we were both having the Combat Log was set to the full width of the screen.
wreck is offline  
Unread 04-26-09, 07:54 PM   #15
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,035
Well, after looking at your latest change to the combat log regarding the font size I have done the same thing with the chat window and it seems to be working. As in the settings option is showing the same font size checked. Will check with a guildie when I log in next. Also noticed another bug with the conversion from the combatlog code to the guildchat code which is what was stopping the window from being removed as it was setting the parent of the combat log instead of the guild chat window.

Tested this with turning off the addon and reloading ui and the window was remved and added as expected.
Xrystal is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Right Chat Box; Setting The Font Size

Thread Tools
Display Modes

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