The maximum width of the button component is 448 px by default. To make it wider than 448 px, you can set max-width to none or a sufficiently large value to override the default style.
Example:
<!-- hxml --> <button class="myButton">Button</button>
/* CSS style */
.myButton {
width: 100%;
max-width: none; /* Remove the maximum width limit. */
}