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

This forum contains topics that were moved from Get Satisfaction
Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

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

Post by Kateryna Grynko »

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)

Post by Ellen Schlechter »

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)

Post by Kateryna Grynko »

Hi Ellen,

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

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

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

Post by Ellen Schlechter »

update??

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

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

Post by Alena Prykhodko »

Hello,

Sorry, not yet.

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

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

Post by Yurii Orishchuk »

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.

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

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

Post by Ellen Schlechter »

It didn't work.

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

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

Post by Yurii Orishchuk »

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.

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

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

Post by Ellen Schlechter »

Implementation:
Image

Console: Image

Post Reply