Hi, i need some help.
How to make a distance in between label and input value?
Here is my ui-template code:
<template>
<v-container>
<v-text-field label="Setpoint:" v-model="editSetPoint"
placeholder="set point" base-color="white">
<template v-slot:append>
<v-menu>
<template v-slot:activator="{ props }">
<v-btn v-bind="props" class="mt-n2" @click="set_point">
SET
</v-btn>
</template>
</v-menu>
</template>
</v-text-field>
</v-container>
</template>
<script>
export default {
data() {
return {
editSetPoint: ''
}
},
methods: {
set_point() {
// editSetPoint is in the format 'YYYY-MM-DD HH:mm:ss'
this.send(
{topic: "setpoint" ,
payload: "'" + this.editSetPoint + "'"}
)
}
}
}
</script>
<style>
</style>