natevm / BSDF-Visualizer

Project for scientific visualization
MIT License
18 stars 4 forks source link

Sliders "shake" when printed values change in width #6

Closed n8xm closed 6 years ago

n8xm commented 6 years ago

Right now when our slider values transition between single-digit and double-digit values, there is no formatted print so it changes the location of the next slider, which causes jittering. We should be able to fix it using string formatting, or by putting sliders in separate rows.

natevm commented 6 years ago

With the newer sliders, I've been removing the output number, since I'm not so sure it's a necessary thing to show. That effectively solves the problem.