Question

For a property there is lot of gap between the "$" and value
Hello,
I have a number property and there is large gap between "$" symbol and value. But I need the gap to be reduced
-
Reply
-
Accepted Solution

@Rakesh Chilukuri
We Can achieve this result by this method.
First output - in configuration just select Left you will get dollar in left
Second output - in configuration just select Right you will get dollar in Right

you can modify the changes in Presentation tab of that property in section.
what is the control for that propety you have given?
Is it currency or integer or Number?
Hope It helps you
Thanks
Regards
Raja

Is the $ sign hardcoded on the field? Then you need to make the number left-aligned from the presentation tab. Otherwise append is directly on the property value instead for setting on the field.

Hi, I have tried edit input rule I am doing prepend $ value to the property, and I am able to get the expected output but it's throwing an error
What I understood is that the $ value is of string and the property is of type decimal

If the property type is not Text then it won't be possible like this. You need to change the alignment in the presentation tab to handle it.

The expected outcome is the dollar and value should be towards right
Like shown in the below image
Accepted Solution

@Rakesh Chilukuri
We Can achieve this result by this method.
First output - in configuration just select Left you will get dollar in left
Second output - in configuration just select Right you will get dollar in Right

Hi , Hope this answer helped you . Please confirm once. If not i can suggest one more way to do this.

I have used the same configurations, but I am still getting a gap.
I am using pega V 8.7.0

can you please tell me about control ? which control are you using ? please try to change the “number” to “currency” inside the configuration on UI. Property might remain as number in backend just change while putting it on the layout.

please change the property on upper left part of the screen.
change number to Currency inside control. You will get the values exactly.

I have changed number to currency, but it's not working

@Rakesh Chilukuri okay send me the "Expected" and "current situation" screenshot please .