Here are a couple of links to alternative float valves, I think they're shorter than the one I'm using, but might still be longer than the 3.5 inches clearance you have.
http://bwiplumbing.com/index.php/aqu...oat-valve.html
http://www.marinedepot.com/Kent_Mari...RAFV-5-vi.html