Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Proportionate spacing of characters/ lining up left and right


This topic is 3533 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello,

 

I have a portal with a date field in the format DD-mmmm-YYYY for example. 01-Jan-2015. 

 

I want to line up the right side and left side of each portal entry for this field so the text lines up perfectly. I am able to line up one side using the justification options but when I use full justification it does not work. Is there a way to line up the dates so that the spacing changes for some dates to meet the margins of the field and the text lines up on both sides?

 

Thanks in advance

Posted

Hi,

 

Aren't all 'dates' 11 characters?  Shouldn't they line up?  Are you saying they are not exactly in line?  They can appear out of line because in proportional fonts, some characters are wider than others, such as I is narrower than M.  If you want them to perfectly align, use a non-proportional font.

Posted

Thanks LaRetta, Yes thats exactly what I mean. How do I know what fonts are not proportional? I am currently using Arial. 

 

Edit: By the way I am running my database on both OSX and Windows

Posted

Andale Mono

Nu Sands

Monaco

Dina

Courier

 

there are others - you can Google search for monospaced or non-proportional to find others.  

  • Like 1
Posted

You have an application in your Application folder called Font Book, in it,  there is a category called Fixed Width.

Posted
when I use full justification it does not work.

 

I believe full justification only works with soft line breaks; your field has only one line, and presumably the field is wide enough to show it in its entirety - so there is no soft break, and no lines above the last line to fully justify. And it would only work with spaces as word separators, not hyphens.

 

 

Is there a way to line up the dates so that the spacing changes for some dates to meet the margins of the field and the text lines up on both sides?

 

Why is this so important? IMHO, applying a monospaced font will be a cure worse than the disease (esp. if you apply it only to the dates).

Posted

I believe full justification only works with soft line breaks; your field has only one line, and presumably the field is wide enough to show it in its entirety - so there is no soft break, and no lines above the last line to fully justify. And it would only work with spaces as word separators, not hyphens.

 

 

 

Why is this so important? IMHO, applying a monospaced font will be a cure worse than the disease (esp. if you apply it only to the dates).

 

It is important because the boss says so lol. I added a monospace font and TBH it sticks out like a sore thumb. I guess the boss will see it and change their mind. hahaha

This topic is 3533 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.