Mark6753445
Posts: 0
Joined: Sat Mar 22, 2014 10:03 am

vertical align grid using css

ok

Mark6753445
Posts: 0
Joined: Sat Mar 22, 2014 10:03 am

vertical align grid using css

Illya

It is still the same? Still at the top when tested...

Image

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

vertical align grid using css

Sorry Mark, I forgot to mention the most important part:

  • on 'startScreen' page show event add this JS:
    pre
    Appery("mobilegrid_5").parent().css("height", Appery("f1bstart").css("height"));
    /pre
Mark6753445
Posts: 0
Joined: Sat Mar 22, 2014 10:03 am

vertical align grid using css

Genius! That works perfectly.

Thank you so much for your patience!
Best regards
Mark.

Mike6580064
Posts: 0
Joined: Wed Jan 15, 2014 6:00 pm

vertical align grid using css

Illya,

I can't get this to work properly using your instructions. This is the CSS I'm running:
Image

This is the Page Show JS:
Image

And this is the result when I test in the simulator. I gave the grid a border to better understand what's happening when I resize the display. There are three icons that I'd like to display vertically aligned and centered on the screen. But it looks like the grid size stays the same (very large) regardless of display size.
Image

Please let me know if you need to see anything else,
Mike

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

vertical align grid using css

Hi Mike,

Your app 'F1Blogger' seems to work normally:

Image

Mike6580064
Posts: 0
Joined: Wed Jan 15, 2014 6:00 pm

vertical align grid using css

Katya,

F1Blogger is not my app.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

vertical align grid using css

Hello Mike!

Sorry about that. Could you clarify your app name?

Mike6580064
Posts: 0
Joined: Wed Jan 15, 2014 6:00 pm

vertical align grid using css

Maryna,

I've just shared it with Appery Support. "SID Digest 2014" is the name of the app.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

vertical align grid using css

Hi Mike,

Try the following CSS:pre.bookicons {
height:50px!important;
width: 50px!important;
}/pre

Return to “Issues”