I would like to center a set of grouped buttons on my home page but can't seem to find anything in here that speaks to grouped buttons, only content in a grid. I tried putting the group in a grid but that did not work.
On Page Load run the following code:precode
bg = Appery("mobilegroupedbuttons");
bg.css("margin-top", -parseInt(bg.css("height"))/2);/code/preWhere mobilegroupedbuttons is a name of Buttons group
Please try Page Show event. This should help.
It didn't do anything. I deleted your load suggestion and then added that same code as a page show command but the grouped buttons went back to top aligned. Do I need to put the group into a grid and make the grid the size of the container and then center the buttons in the grid?
It works for me with Page Show without using a grid.
Thanks. That is how I did it but it didn't work.
Could you post your public app link so we can test it?