for my bad English, my native language is German.
I would like to add a font-size setting for my skin.
I would like to achieve this setting in MM5 under Options\Design.
I have already written or edited the corresponding file "config.html & config.js"
several times. I just can't get it to work.
The dropdown in config.html is created and also works.
Code: Select all
<div data-id="SkinFontSize" data-control-class="Dropdown" data-init-params="{readOnly: true,preload: true}" class="dropdown">
<option>10</option>
<option>11</option>
<option>12</option>
</div>
Question, how do I set a default value, the dropdown menu is always empty ?
The entries are only displayed when you select them.
Question, how should I proceed in config.js to read the @baseFontSize variable,
and read the value from the dropdown menu and write it to the @baseFontSize variable.
I have searched all the MM5 help files and the forum, but have not found a solution.
An answer would be nice, thank you