WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Technical Support (https://www.wowinterface.com/forums/forumdisplay.php?f=92)
-   -   Font Size (https://www.wowinterface.com/forums/showthread.php?t=22129)

dmond 04-14-09 09:34 PM

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.

spiel2001 04-14-09 09:37 PM

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.

dmond 04-14-09 09:40 PM

Where would I go in the script to edit the font?

spiel2001 04-14-09 09:46 PM

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 ]

dmond 04-14-09 10:24 PM

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.

spiel2001 04-15-09 04:15 AM

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.


All times are GMT -6. The time now is 06:13 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI