refactor(ui): replaced some n-input with c-input-text
This commit is contained in:
1 parent
aad8d84e13
commit
77f2efc0b9
39 files changed
+738
-448
No files matched your search
@@ -21,9 +21,15 @@
|
||||
<n-form-item label="Font size">
|
||||
<n-input-number v-model:value="fontSize" placeholder="Font size..." min="1" />
|
||||
</n-form-item>
|
||||
<n-form-item label="Custom text">
|
||||
<n-input v-model:value="customText" :placeholder="`Default is ${width}x${height}`" />
|
||||
</n-form-item>
|
||||
|
||||
<c-input-text
|
||||
v-model:value="customText"
|
||||
label="Custom text"
|
||||
:placeholder="`Default is ${width}x${height}`"
|
||||
label-position="left"
|
||||
label-width="100px"
|
||||
label-align="right"
|
||||
/>
|
||||
</n-space>
|
||||
<n-form-item label="Use exact size" label-placement="left">
|
||||
<n-switch v-model:value="useExactSize" />
|
||||
|
||||
Reference in new issue
Block a user