Some editors let you set tab size in pixels
In one of articles about Tabs vs Spaces (the article itself advocated for using Tabs for indentation and spaces for alignment, what become my favorite options since then) I've read a statement that some code editors might support setting tab size in pixels.
And don't act surprised, but I found one!
Below you can see a timelapse of me changing this setting to various values:

Note how variable names foo and hello neatly keep being aligned one under another,
even while indentation size changes!