cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ruth
Helper III
Helper III

right align numbers

 

This is a very basic question, but for some reason when I right justify a number it aligns beyond the size of the field so that I cannot see the number.  The only way for me to view the number is by left justiyfing the number.   Here is what I have coded:

Datacard level

Default = ThisItem.HourlyRate

Field level

Align = Align.right

Default=Text(Value(Parent.Default),"[$-en-US]#,###,##0.00")

 

Any thoughts or reason why this would be happening?

 

ruth

3 REPLIES 3
rebeccas
Super User
Super User

Check to see if you DataCard is wider than your actual form...sometimes that can accidently happen when doing some formatting and it can cause that.

 

Also, check the Width of the DataCardValue...it typically defaults to Parent.Width - 60 or something but you might need to change that if it isn't lining up right for your needs.

The datacard is not wider than the form and I've hardcoded my width to 150.  The field is within the datacard

ruth
Helper III
Helper III

For some reason this occurs on all numbers on all forms that I use.  I'm accessing a Sharepoint list and the field is defined as a number.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (70,611)