ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   How can I change the text format? (https://www.esoui.com/forums/showthread.php?t=948)

Artajörn 04/16/14 09:17 AM

How can I change the text format?
 
Hi,

I would like to know how can I change both the size and the thickness of the text in a label. I want the text to be bold and larger.

Regards and thanks in advance. :)

Seerah 04/16/14 12:56 PM

Here's a list of all the defined font objects that are in-game.
http://www.esoui.com/forums/showthre...ighlight=fonts

You can change your label to use a different font definition.

Kith 04/16/14 05:20 PM

If you want to really mess with fonts and choices you can go the next step up and use:
Lua Code:
  1. label:SetFont(strformat('%s|%d|%s', <PATH-TO-FONT>, <FONT-SIZE>, <FONT-STYLE>))
  2.  
  3. local fontConfig = strformat('%s|%d|%s', LMP:Fetch('font', db.overlays.font), 16, 'soft-shadow-thick')
  4.     -- as an example
Lets you use one of the built-in font files (zgoo shows them and Seerah's link) then can set size and border style as well to any of the options).

Artajörn 04/17/14 09:33 AM

Thank you very much both of you for your answers. They have been very useful to me. ;)


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

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