epezent / implot

Immediate Mode Plotting
MIT License
4.64k stars 516 forks source link

Any way to prevent an Y axis to resize itself because of a TagY? #436

Open aybe opened 1 year ago

aybe commented 1 year ago

Following the example in the demo, I've got the following rendering:

Wipeout_P6NdrEpU5w

As you can see, depending the value of TagY, that Y axis eventually resizes itself.

Is there any way to make it slightly larger so that it doesn't constantly resize itself due to the changing value drawn by TagY?

Thank you.

epezent commented 1 year ago

Not currently. You could pad the text in your tag with leading spaces as a quick fix.

aybe commented 1 year ago

The trick works if using a monospaced font, but if not, mileage varies.

I leave the issue open so it gets a chance to be addressed in the next round of bug-fixing.

Thank you 😀