Page 4 of 6

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

Posted: Fri Oct 17, 2014 6:28 am
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?


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

Posted: Fri Oct 17, 2014 12:38 pm
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.


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

Posted: Fri Oct 17, 2014 5:37 pm
by Kateryna Grynko

Hi Ellen,

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


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

Posted: Sat Oct 18, 2014 12:39 am
by Ellen Schlechter

Thanks


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

Posted: Sun Oct 19, 2014 4:55 am
by Ellen Schlechter

update??


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

Posted: Sun Oct 19, 2014 4:53 pm
by Alena Prykhodko

Hello,

Sorry, not yet.


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

Posted: Mon Oct 20, 2014 12:05 am
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.


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

Posted: Mon Oct 20, 2014 1:58 am
by Ellen Schlechter

It didn't work.


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

Posted: Mon Oct 20, 2014 4:43 am
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.


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

Posted: Tue Oct 21, 2014 4:40 pm
by Ellen Schlechter

Implementation:
Image

Console: Image