User Tools

Site Tools


columns_ui:config:item_details_titleformatting

Item details title formatting reference

Functions

$set_font

Changes the font used for subsequent text.

Syntax

$set_font(font face,point size,flags)

where flags are semi-colon separated values from the below list:

Name Type
bold boolean
italic boolean
underline boolean

You can store the output of $set_font using $put/$puts to enable you to easily recall the font later using $get.

Examples

Setting the font to Segoe UI 12 pt, bold, italic (short form)

$set_font(Segoe UI,12,bold;italic;)

Setting the font to Segoe UI 12 pt, bold, italic (full form)

$set_font(Segoe UI,12,bold=true;italic=true;)

Storing fonts for repeated/later use
$puts(labelfont,$set_font(Segoe UI,12,bold;italic;))
 
$get(labelfont)Artist$reset_font() %artist%
$crlf()
$get(labelfont)Title$reset_font() %title%

$reset_font

Restores the font for subsequent text to the default panel font.

Syntax

$reset_font()

columns_ui/config/item_details_titleformatting.txt · Last modified: 2012/11/04 17:44 by musicmusic