mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
Added the option to set letter-spacing size to individual labels. (#1116)
* Added the option to set letter-spacing size to individual labels. * Allowed to set letter-spacing for label groups from the Style tab.
This commit is contained in:
parent
e77202a08a
commit
6ffc5a0cc5
3 changed files with 51 additions and 0 deletions
22
index.html
22
index.html
|
|
@ -1181,6 +1181,15 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
|
||||
<tbody id="styleLetterSpacing">
|
||||
<tr data-tip="Set letter spacing size">
|
||||
<td>Letter spacing</td>
|
||||
<td>
|
||||
<slider-input id="styleLetterSpacingInput" min="0" max="80"></slider-input>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<tbody id="styleStrokeDash">
|
||||
<tr data-tip="Set stroke dash array (e.g. 5 2) and linecap">
|
||||
<td>Stroke dash</td>
|
||||
|
|
@ -2678,6 +2687,19 @@
|
|||
/>
|
||||
</div>
|
||||
|
||||
<button id="labelLetterSpacingShow" data-tip="Show the letter spacing section" class="icon-text-width"></button>
|
||||
<div id="labelLetterSpacingSection" style="display: none">
|
||||
<button id="labelLetterSpacingHide" data-tip="Hide the letter spacing section" class="icon-text-width"></button>
|
||||
<input
|
||||
id="labelLetterSpacingSize"
|
||||
data-tip="Set the letter spacing size for the particular label"
|
||||
type="range"
|
||||
min="0"
|
||||
max="80"
|
||||
style="width: 8em"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<button id="labelAlign" data-tip="Turn text path into a straight line" class="icon-resize-horizontal"></button>
|
||||
<button id="labelLegend" data-tip="Edit free text notes (legend) for this label" class="icon-edit"></button>
|
||||
<button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue