Fit edit object selector to width of longest name.