Correctly centered the JSwitchBox in NodeDialog to select linear/log
scale: no Box is needed, we just need to say that it takes up 1
horizontal space and it is centered. If we say that it uses 2 spaces,
the thing does not work.