We'll add some buttons to the stack that we are currently working on:
That was quite a quick test, and if all went well, you will see that resizing the card window includes positioning the first four buttons using the resizeStack
handler that we added, and it's positioning of the second set of four buttons using the Geometry Manager. With the settings we used, the results should be much the same, except that the second set of four buttons will remain a fixed distance away from the bottom of the card window.
There is a lot of power in the Geometry Manager and you should take a look at the other abilities it has at the reference link shown at the end of this chapter. However, it is not the best way to deal with mobile screen sizes.