Add filename tooltip for images
Hovering over an image with your cursor will now display a tooltip containing the filename. This solves the difficulty of seeing what an image's file name is and makes it much more convenient.
This commit is contained in:
parent
c0299480ad
commit
c28d3865bc
|
@ -73,6 +73,9 @@ public class FileImageWidget : Box {
|
||||||
image_overlay_toolbar.visible = false;
|
image_overlay_toolbar.visible = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Set tooltip to display the file name on hover
|
||||||
|
image.set_tooltip_text(file_name);
|
||||||
|
|
||||||
this.append(overlay);
|
this.append(overlay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue