hoffstadt / hoffstadt/DearPyGui

Tooltip of the nodes are smaller

Open
#1,754 0 comments 0 reactions 0 assignees View on GitHub
state: pending type: bug
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

## Version of Dear PyGui

Version: 1.6.1
Operating System: Windows 10

## My Issue

The tooltip attached to an item of a node is smaller than one attached to an item of a window.

## To Reproduce

See code

## Screenshots

![image](https://user-images.githubusercontent.com/64004269/167228497-2f434b3d-dadf-4733-8ae0-bd2e8fcfefcc.png)
![image](https://user-images.githubusercontent.com/64004269/167228491-29164f27-a37e-4c27-8a03-8b960f7bd8e5.png)

## Standalone, minimal, complete and verifiable example

```python
import dearpygui.dearpygui as dpg

dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()

with dpg.window():
dpg.add_text("Hi!")
with dpg.tooltip(dpg.last_item()):
dpg.add_text("Hello There!")

with dpg.window(pos=[200,100],width=200,height=200):
with dpg.node_editor():
with dpg.node():
with dpg.node_attribute():
dpg.add_text("Hi!")
with dpg.tooltip(dpg.last_item()):
dpg.add_text("Hello There!")

dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.