There's a theory that the tallest presidential candidate winds. I intend to research it all the way to George Washington, but I think there's something to it. In recent elections, Al Gore was one inch taller than George W. Bush. And he defeated John Kerry, who is 6' 4" over George w.'s height of 6 ft.
Barring that anomaly Obama was taller than his opponents or McCain and Romney and Donald Trump towered over Hillary Clinton.
Going back further 6' 2" Bill Clinton beat HW Bush and Bob Dole and he was taller than both of them. As I said, I'll have to take this back. I don't even know who very short John Adams ran against as George Washington did not run for a third term and so on.