center position a control in grid cell horizontal and vertical
How can I div(panel) center position a control in grid cell horizontal and vertical (x and y)?
Many thanks
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How can I div(panel) center position a control in grid cell horizontal and vertical (x and y)?
Many thanks
Hello,
To place an item in the center of grid cell add "Run custom JavaScript" action to "Load" event. Paste there following JS code
codevar cellElement = Tiggzi('mobilebutton1').closest('td')
cellElement.css('text-align', 'center').css('vertical-align', 'middle');/code
Write the item name instead of sample "mobilebutton1".
vertical-align doesn't work,
Sample code worked with button. Which component do you want to align vertically?
HI
How would I do a vertical-align on a Component "panel"
Hello! This should help