kit
kit copied to clipboard
How to set size of form window?
Hi,
Im trying to set constant form size(200x200px) but no luck. Every time I call this script div have different height and width(1 time height is 200, other time is width 200, next time is width 200 and height 200 and that goes on on random).
Here is my form config:
let {noteContent, noteFolder} = await form({
html: `
<div class="p-4" style="height: 200px">
<textarea name="noteContent" placeholder="Node Content..."></textarea>
</br>
<input type="text" name="noteFolder" placeholder="Text Input" value="${defaultNoteFolder}"/>
</div>`,
height: 200,
width: 200
})
What am I doing wrong?
@Bootta11 You're not doing anything wrong. It's a bug. I'm trying to get Script Kit v3 out in the new couple of weeks and I'll hopefully have it resolved.
@johnlindquist Ok, thanks for answer. Looking forward for v3.
Anyway, app is great. Keep good work.