IvanNazaruk / DearPyGui-Markdown

Almost all basic Markdown implementation for DearPyGui, as well as additional support in the form of text customization (color, size) as a custom HTML tag.
MIT License
19 stars 1 forks source link

Lib work properly in window item, but not with other containers #3

Open yannou38 opened 2 weeks ago

yannou38 commented 2 weeks ago

Hello, i've been experimenting with using this library to load documentation for my app directly from .md files in a help tab on my app.

I've noticed that the lib only work partially in that case, but work properly with window containers: with tree_node containers (same effect with child_window): image

with window containers: image

I don't exclude the possibility that something affect the elements in a container above, but as far as i know i use the lib fonts everywhere, i have a global theme that don't change the behavior when i comment it out, so i'm a bit at my wits end.

if that helps, the hierarchy of containers toward the text is as follow : window -> group -> tab_bar -> tab -> text

yannou38 commented 2 weeks ago

Further examination led me to discover it may be mostly caused by collapsing containers, who break the drawing of additional items. I'm not sure how it could be fixed