WebSite X5Help Center

 
Adrian B.
Adrian B.
User

Trying to eliminate the gap - margin settings  en

Autor: Adrian B.
Visitado 112, Followers 0, Compartido 0  

I have the Inner and Outer margins for the image objects, text objects and button objects set to 1 for vertical top and vertical bottom

I have enabled row formats to try to figure out where the problem is - and I believe that it shows its the text objects.

I have no lines inserted after the last character in the last row of text, but as you can see there is a gap between the text and the top of the button objects.

Any ideas appreciated,

Thank you

Adrian

Publicado en
11 RESPUESTAS
Daniel W.
Daniel W.
User
Usuario del mes DE

Reduce the margins of the text objects at the bottom and the margins of the button objects at the top.

-----

Leer más
Publicado en de Daniel W.
Daniel W.
Daniel W.
User
Usuario del mes DE

If the margins of the text objects at the top and the margins of the image objects at the bottom are also reduced, it looks like this.

-----

Leer más
Publicado en de Daniel W.
Adrian B.
Adrian B.
User
Autor

What you have for an example is what I would expect from the margin settings as you describe.

I have the margins set to "1" from the default value of "10"..... but as you can see from my example file, there is still a big gap between top of the button and bottom of the text.  A much bigger gap than a margin of 1 + 1.

Your example is what I want to achieve... :)

Adrian

Leer más
Publicado en de Adrian B.
Adrian B.
Adrian B.
User
Autor

So now I have added background colour to the objetcs and you can see it is the area under the text.

Leer más
Publicado en de Adrian B.
Adrian B.
Adrian B.
User
Autor

So now i have made aligmnet of text object in the center - and the margins are 1, but still a alrge gap above and below text

Leer más
Publicado en de Adrian B.
Daniel W.
Daniel W.
User
Usuario del mes DE

Here I have set the top and bottom margins for the text object to 0. For the image object the bottom margin is set to 0 and for the button object the top margin is set to 0.

-----

----- Settings for text object -----

Leer más
Publicado en de Daniel W.
Daniel W.
Daniel W.
User
Usuario del mes DE

Margins = 1

-----

Leer más
Publicado en de Daniel W.
Daniel W.
Daniel W.
User
Usuario del mes DE

I noticed that the button has a different background color than the text and image, probably because the objects in the grid were not placed the same way as in my test.

-----

Leer más
Publicado en de Daniel W.
Adrian B.
Adrian B.
User
Autor

I only have the background colors set to be able to see the boundaries of the object. Same layout as you.

Thanks for looking at this

Adrian

Leer más
Publicado en de Adrian B.
Daniel W.
Daniel W.
User
Usuario del mes DE

Is there perhaps a blank line in one of the text objects or was the text copied and pasted with invisible formatting?

You may want to post a link so that experts can look for the error on the relevant page.

Leer más
Publicado en de Daniel W.