Hello everyone!
I have several expressions stick together (because different styles: some expression have to be in bold) but the problem is the spacing between them.
When I use for example on a expression: formatDate(...) + " ", the " " isn't diplay on the page.
How can I do to display the spacing withou using margin.
Thank you
hi ,
use +" "+
Hi Shamin,
Adding " " + FormatDate() + " " should work.
But you can try to add the space to the static text, if you are sure the expression will always have a value.
"Modification " instead of "Modification", and so on...
Let me know if this helps,
Pedro
Hi @Shamin KURREEMBOKUS
There are several approaches for this:
1. Add spaces to the text that comes right before or after those expressions.
Example: "Modification ", "on the ", " Par John Doe"...
2.Convert the Date or Time to Text and add space to that text using TimeToText() and DateToText() built-in functions.
Example:
DateToText(23/02/2022) + " "
TimeToText(17,20,0) + " "
Choose whichever approach makes more sense for you.
I hope this helps!
Hi!
Have you tried to insert a container with "min-width" 2px or 3px between the expressions?
Regards
Graça
Hi,
Not sure if I get it correctly but you mentioned " " isn't displayed on page. In order to display this use like - formatdate(....)+"""+"""+ ... To add space you use - formatdate(....)+ " "+
Thank you all for your answer.
I put an " " + Description + " ". But the spaces doesn't display on the page (all of the texts are on the expression).
Hi @Shamin KURREEMBOKUS ,
Please try to enclose each expression into the container which will automatically provide space between them.
Thanks
Arun Rajput
Okay I find the problem,
There is a CSS properties "white-space: nowrap" on the expression widget. I change this to pre-wrap and now it works
Thank All for your contribution.
Happy to hear that you find solution.
Since you have found the solution yourself, you can mark your comment and this post as a solution for future references for others.
ThanksTousif Khan