You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The name radius is what's causing confusion here. In the C++ implementation, the corresponding argument is named indicatorRadiusFactor. That is, it isn't radius in pixels, it's just a scaling factor for the default indicator image. thickness is a scaling factor, too.
The default size (before multiplying by radius) is calculated based off font size.
FWIW, there are a couple of bugs in size calculation for style=1 indicators. If I remember correctly, one of the bugs leads to incorrect positioning (try to put an indicator into a FixedFit table cell with borders, and you'll probably see it), and the other affects radius/thickness calculations.
Yeah, doc definitely needs to explain this. Also, I'd prefer to fix the calculation bugs I mentioned earlier before we even touch the doc (just to make sure everything is consistent).
Version of Dear PyGui
Version: 1.11.1
Operating System: Windows 11
My Issue/Question
The radius value for the loading indicator seems to be multiplied by 10 when applied
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Standalone, minimal, complete and verifiable example
The text was updated successfully, but these errors were encountered: