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

Hi @Rakesh Chilukuri

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

@Rakesh Chilukuri

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.

@SohamM95

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

ER.png

@Rakesh Chilukuri

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.

@SohamM95

The expected outcome is the dollar and value should be towards right

Like shown in the below image

​​​​​​​AP.png

@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

@Somil0607

And the property type is Decimal

@Rakesh Chilukuri

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

@Somil0607

I have used the same configurations, but I am still getting a gap.

I am using pega V 8.7.0

@Rakesh Chilukuri

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.

@Rakesh Chilukuri

please change the property on upper left part of the screen.

change number to Currency inside control. You will get the values exactly.

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

@Rakesh Chilukuri

2.current situation

@Somil0607

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

@Somil0607

  1. Expected

Exp.png