19,666
edits
m (docs wording) |
m (typo) |
||
Line 26: | Line 26: | ||
*'''top_char''', '''bot_char''': The top and bottom characters which should appear on the button. | *'''top_char''', '''bot_char''': The top and bottom characters which should appear on the button. | ||
*'''scale''': A percentage, default value of 100. At 100, the button will be 95x95 px. | *'''scale''': A percentage, default value of 100. At 100, the button will be 95x95 px. | ||
*'''top_scale''', '''bot_scale''': The font size of the top and bottom characters, as a scaling factor for the default font size of 150%. The font size will automatically scale with the use of '''scale''', but you will find that certain characters need to have their scaling fine-tuned to look good on the button. These parameters will add a further multiplier to the '''scale''' multiplier, e.g. setting '''bot_scale''' to 133 on a 50%-scale button will raise the font size from 75% (150 * 0.5) to | *'''top_scale''', '''bot_scale''': The font size of the top and bottom characters, as a scaling factor for the default font size of 150%. The font size will automatically scale with the use of '''scale''', but you will find that certain characters need to have their scaling fine-tuned to look good on the button. These parameters will add a further multiplier to the '''scale''' multiplier, e.g. setting '''bot_scale''' to 133 on a 50%-scale button will raise the font size from 75% (150 * 0.5) to 100% (150 * 0.5 * 1.33). | ||
==Sample usage== | ==Sample usage== |