mirror of
https://codeberg.org/icewind/ptouch-api.git
synced 2026-06-03 19:04:08 +02:00
auto width
This commit is contained in:
parent
ddaa60d214
commit
9073a9d217
3 changed files with 52 additions and 16 deletions
|
|
@ -31,9 +31,13 @@
|
|||
<label for="canvas-width">Width</label>
|
||||
<input type="number" min="0" id="canvas-width" value="300">
|
||||
<select id="canvas-width-unit">
|
||||
<option value="px" selected>px</option>
|
||||
<option value="px">px</option>
|
||||
<option value="mm">mm</option>
|
||||
<option value="auto" selected="selected">Auto</option>
|
||||
</select>
|
||||
<span id="autoHelp">
|
||||
Note: only left aligned elements are taking into account for determining the width.
|
||||
</span>
|
||||
</p>
|
||||
<div id='tape'>
|
||||
<canvas id="preview" height="32" width="300"></canvas>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue