buttons dimensions to percent