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

Center grouped buttons on home page (vertical and horizontal alignment)

Hi Ellen,

Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name and on what page to see.

Did you check changing screen orientation on device, or in online version or in emulator?

Ellen Schlechter
Posts: 0
Joined: Sun Aug 31, 2014 3:28 am

Center grouped buttons on home page (vertical and horizontal alignment)

Shared! Its is called The Calving Book and the problem lies on "screen1". I did check changing the screen size and changing the orientation but it doesn't work on the default screen either.

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

Center grouped buttons on home page (vertical and horizontal alignment)

Hi Ellen,

We reproduced the issue on iPhone with iOS 7.1.2.
I'll pass it to our developers.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Center grouped buttons on home page (vertical and horizontal alignment)

HI Ellen,

Our developers working on it.

But please try following:

1 Add page show event handler:

2 Populate it with following code:

pre

var MakeAction = function(){
var grid = Appery('buttons_grid');
grid.css({
top: '50%',
position: 'absolute',
width: '100%',
left: 0,
'margin-top': -( grid.outerHeight() / 2 )
});
};

$(window).bind('orientationchange', function(e) {
MakeAction();
});

MakeAction();

/pre

Regards.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Center grouped buttons on home page (vertical and horizontal alignment)

Hi,

Please show us your implementation screen shots.

Also try use weinre debugger to see logs in console.

See details: http://devcenter.appery.io/documentat...

Regards.

Return to “Issues”