Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6144603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:40:26+00:00 2026-05-23T18:40:26+00:00

I am currently having a minor issue with UILabel objects. In Xcode 4.0.2, I

  • 0

I am currently having a minor issue with UILabel objects. In Xcode 4.0.2, I am using Interface Builder to build a view with some right aligned labels stacked vertically. The labels are all identical except for their tag and for the Y coordinates of their frame.

If the text in the labels are all the same length, the rights of the text are happily lined up. However, if the text length is different, the rights of the longer text will be off slightly. This happens both if I change the text property in IB and observe it on the design surface, and if I run the app in either the simulator or on the device and have differing text lengths in the labels. In order to more clearly observe this, I changed the background color of a couple of the labels, and it is visible right away once the text lengths are different.

I have tried to change a lot of the properties of the labels to be the same, I have increased the size of the labels, but nothing seems to affect this. The width of the label is far larger than the text that I am trying to place inside.

Here is an example of what I am talking about. In IB, here is what the view looks like with all of the labels having the same text length:

enter image description here

And here is what it looks like if I change the first label’s text to 00.00:

enter image description here

Any ideas of what could be causing this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:40:26+00:00Added an answer on May 23, 2026 at 6:40 pm

    I believe the reason is because the first character in a word has its x position aligned to integral coordinates, but subsequent characters use the fractional x position (so as to provide for even kerning). By adding an extra zero to the first line, you’ve changed where the word starts, and so the last zero in your line is at a slightly different fractional position than the other zeros.

    Honestly, I wouldn’t worry about it. It’s a very subtle antialiasing difference.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm currently having some issues by using the cakePHP data validation. I've tried to
I am currently having a minor issue with a Java Jframe and a button
I am currently having some trouble using my client side validation. I am using
I'm currently having some problems with setting up the right routes for my application.
Currently having some problems- now = datetime.datetime.now() month = now.strftime(%B) site = wikipedia.getSite('en', 'wikiquote')
I'm currently having a major issue with a python script. The script runs arbitrary
I am currently having a hardtime understanding and implementing events in C# using delagates.
I am currently having some problems with <li> in IE6 essentially my code looks
Hi All I am currently having an issue calling a WCF service from a
Im currently having some troubles extracting the keyword from the cookie i just want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.