Thread Tools Display Modes
04-14-09, 09:34 PM   #1
dmond
A Murloc Raider
Join Date: Apr 2009
Posts: 5
Font Size

I was reading the FAQ about this problem, but it did not quite answer the problem I would like to fix.

I would like to change all of the fonts to a bigger size, like on unit frames.
I would just like an over all bigger font, Would I be able to use ClearFont to control the font size? or would I have to do the same type of thing i had to do with the action bars and change your script.
 
04-14-09, 09:37 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I've never tried using ClearFont with nUI, so I honestly don't know... I would say play with it and see what happens... and let me know. Otherwise, yes, I'm afraid it would boil down to playing with the script.
__________________

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/
 
04-14-09, 09:40 PM   #3
dmond
A Murloc Raider
Join Date: Apr 2009
Posts: 5
Where would I go in the script to edit the font?
 
04-14-09, 09:46 PM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
It would depend on which thing you're editing the font size for... most of them will be in the files in [ Interface > AddOns > nUI > Layouts > Default > * ] -- but not all... some fonts are tied to the size of the frame they belong to (such as buttons that have to have the text fit inside the button) in which case the font size is calculates as a ratio to the size of the frame they are attached to and changing those means either (a) making the frame bigger or (b) editing the source code (such as [ Interface > AddOns > Bars > nUI_Button.lua ]
__________________

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/
 
04-14-09, 10:24 PM   #5
dmond
A Murloc Raider
Join Date: Apr 2009
Posts: 5
Gahh, I;m trying to figure this out but i can't seem to find fonts for unitframes, all these little fonts are a huge strain on my eyes.
 
04-15-09, 04:15 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_UnitSkin_{panel mode}{unit}.lua

You'll find the various font elements sprinkled through there. Most of them should have a 'fontsize = {n}' (or is it font_size) and even if they don't, they probably support one.
__________________

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/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » 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