Check out my tab panel setup on Sencha fiddle. The buttons are dynamically added to a tabs container with a layout of hbox within a vbox. The width of the tabs container is determined by the flex property.
I attempted to set each button's width to '100%', but after consulting the Sencha documentation on button.width, it appears that width should be specified in pixels as an integer value. Trying to adjust the width using style only resulted in the button occupying the entire screen width.
I would greatly appreciate help and an explanation regarding the CSS concepts involved here.