Added QTooltip to the label of the QItem in the QTree.
This commit is contained in:
Zak
2021-06-12 20:50:59 -07:00
parent 046011e022
commit 3a7f7a721d

View File

@@ -122,7 +122,9 @@
<template v-slot:default-header="props">
<div class="row">
<q-icon :name="props.node.icon" :color="props.node.color" class="q-mr-sm" />
<span>{{ props.node.label }}</span>
<span
>{{ props.node.label }} <q-tooltip :delay="600">ID: {{ props.node.id }}</q-tooltip></span
>
<q-menu context-menu>
<q-list dense style="min-width: 200px">