It is currently April 18th, 2024, 5:51 pm

newbYYYII where 2 start editing

Discuss the use of Lua in Script measures.
yudaweb
Posts: 21
Joined: September 29th, 2011, 3:49 am

newbYYYII where 2 start editing

Post by yudaweb »

im used 2 CSS, HTML and lil' bit javascript. can any1 tell me how i can change simple text size. font face, bcoz not all skin do. i'd like to create my own skin, Thanks 4 read this
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: newbYYYII where 2 start editing

Post by Kaelri »

I assume you're asking how to do this in Lua, since you posted in this forum? You can change options on a String meter using the "!SetOption" bang. For example:

Code: Select all

SKIN:Bang('!SetOption "MeterName" "FontSize" "8"')
See here for the list of options for String meters.