I use a 22" in my 4x2x2s. It was the only size that allowed there to be some area in the tank with a uvi level of 0. And even then, it was only in the last 3 or 4 inches of the tank.
You want a gradient with uv just like you want with heat. And you want your dragon to have places where it can escape the uv rays if it so chooses.
I choose to create a gradient down to 0 instead of relying on hides as I dont like the idea of making my dragons hide if they want to escape exposure. They can simply move to the other end and still enjoy being out and about in their tanks.
Getting a shorter bulb has no effect at all on your basking level uv exposure, only a difference on the rest of your tanks levels.
-Brandon