I have a loop that goes through the following code 4 times to create, dynamically, four buttons in a paper-menu .
button = document.createElement('paper-button');
sectionDisplayName = <my string>;
console.log(">"+sectionDisplayName+"<");
Polymer.dom(button).setAttribute("section", sectionDisplayName);
Polymer.dom(button).setAttribute("raised");
Polymer.dom(button).setAttribute("style","white-space:pre-wrap");
Polymer.dom(button).innerHTML = sectionDisplayName;
When the sectionDisplayName is shorter than the size of the button, the button shrinks as in:

How can I force that "Goals" button to fit the width of the menu?
Thank you.
display: block;to your style. Also, usetextContentinstead ofinnerHTMLif you don't actually need HTML, it's a good habit that increases your defense against XSS. - Scott Miles