Page 1 of 2

"auto" cells don't center anymore

Posted: Sun Jun 12, 2016 1:40 pm
by EJLD

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


"auto" cells don't center anymore

Posted: Sun Jun 12, 2016 1:50 pm
by Illya Stepanov

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.


"auto" cells don't center anymore

Posted: Sun Jun 12, 2016 2:06 pm
by EJLD

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


"auto" cells don't center anymore

Posted: Mon Jun 13, 2016 5:41 pm
by Serhii Kulibaba

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-...


"auto" cells don't center anymore

Posted: Mon Jun 13, 2016 11:24 pm
by EJLD

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.


"auto" cells don't center anymore

Posted: Tue Jun 14, 2016 5:04 am
by Evgene Karachevtsev

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?


"auto" cells don't center anymore

Posted: Tue Jun 14, 2016 1:29 pm
by EJLD

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


"auto" cells don't center anymore

Posted: Tue Jun 14, 2016 5:32 pm
by Serhii Kulibaba

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


"auto" cells don't center anymore

Posted: Wed Jun 22, 2016 4:00 am
by EJLD

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


"auto" cells don't center anymore

Posted: Wed Jun 22, 2016 6:44 am
by Serhii Kulibaba

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

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