EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

"auto" cells don't center anymore

hi there,

don't know what has been changed but when having 3 columns (3 cells nxt to each other) in a grid, the one at the center isn't centered even though the left and right ones are set to "auto".
it was perfect before but since 2 wks, the center cell tends to move right off center.
could you check on your side ?

same in buttons, logo and text tend to shift towards right ... !!!

thk you,
Eric

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

"auto" cells don't center anymore

Hi Eric -

We didn't made any changes to our builder recently.

Could you please expand more details about your issue here? Which project type you're working with? Attach some screen shots of your current implementation in your app.

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

"auto" cells don't center anymore

Hi Illya, strange things ... I hv got several this way
Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

"auto" cells don't center anymore

Hello,

Do you want tot center component? If so, please use CSS style codemargin:auto;/code for that.
More information you can find here: https://css-tricks.com/centering-css-...

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

"auto" cells don't center anymore

Sergiy, thanks for your prompt reply.
However, I'm not writing for this. This I know.
What I mean is that for months the page setting had been same and displayed properly, and recently without any change on my side, it displays the buttons differently.
I don't feel like reworking all affected pages because of the builder unconsistency.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

"auto" cells don't center anymore

Hello Eric,

It's hard to say what could cause this. COuld you please try to apply the CSS code to some element to check if it works in your project?

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

"auto" cells don't center anymore

Hi Evgene, I'll check it out, and tell you. it's just that waste of time going through all to change the setting :)

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

"auto" cells don't center anymore

Please check the sizes of these elements (https://devcenter.appery.io/documenta...). I got the same: Image Image

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

"auto" cells don't center anymore

I looked into this.

the way it has been set so far:

1/ a grid of 3 cells
2/ left and right cells set to "auto"
3/ center cell holding a button, cell's width set to "100px"
4/ following code onLoad
Appery("myButton").css("width", "100%");

it worked well
but not anymore

must remove the code, and cannot set the button's width

it's not a big issue but ...

best

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

"auto" cells don't center anymore

Please set button's width with CSS instead of JS:

pre[name=myButton]{
width:100%;
}/pre

Return to “Issues”