Pick the closest width icon

My C++ is pretty rusty. This seem sane?