View Single Post
Old 01-07-10, 04:20 AM   #11
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,026
Ah, gots the problem. Guess I need to work some more on uiScaling. It should be taking it into account but it isn't.

Ah, I see what I'm doing wrong. Not setting the size of the image to scale but to a fixed value and everything ties to it.

Edit:

Okay, if you make the following changes to the nUI_InfoPanel_GuildInfo.lua file it should *crosses fingers* work with uiScaling. Regardless of scaling it will fit into the left 1/3 and top 1/2. Fontsize 10 seems to be too big for long motd messages but 8 seems too small so will probably have to play with scrolling frames again to make the 2 message frames a scrolling message box of some sort.

Code:
resizeGuildInfo = function(height,width)
	local GuildInfo   = plugin.GuildInfo;
	nUI_Movers:lockFrame( GuildInfo, false, nil );
	GuildInfo:SetWidth( width ); 
	GuildInfo:SetHeight( height ); 
	GuildInfo.Image:SetWidth( width / 3 );
	GuildInfo.Image:SetHeight( height / 2 );
	nUI_Movers:lockFrame( GuildInfo, true, nil );
end
The following images show the display with both uiScaling active and non active and each time it is changed you need to do a reloadUI as blizzard doesn't think that option needs it for some reason rofl. Then if the font is too small or too big try resetting to its uiScaling default by typing /gi fontsize.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_010710_113048.jpg
Views:	667
Size:	345.6 KB
ID:	3816  Click image for larger version

Name:	WoWScrnShot_010710_113128.jpg
Views:	665
Size:	365.1 KB
ID:	3817  
__________________

Last edited by Xrystal : 01-07-10 at 04:34 AM.
Xrystal is offline