Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

UIFont max size

Posted on 2013-11-26
2
Medium Priority
?
532 Views
Last Modified: 2013-11-27
I'm trying to increase the font to larger than 100, but I'm having issues doing so.  I'm creating a timer, which I want to have a large font, but it seems as though once I get above 70, I start getting these blocks to appear and my text does not.  Anyone know the correct way of doing this?

timerText.font = [UIFont fontWithName:@"arial" size:80.0];

Open in new window

Screen-Shot-2013-11-26-at-6.11.5.png
0
Comment
Question by:pingeyeg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 33

Accepted Solution

by:
pgnatyuk earned 2000 total points
ID: 39680507
Which box? You mean these three dots in the end of the text? They look like a rectangle in the font you selected, but these are dots.

Make the label bigger. That will solve the problem. You see the dots when there is not enough room for the text.

You can change lineBreakMode in UILabel and it may simply truncate the text. You can set number of lines to 0 in UILabel and the text will appear in few lines. You can change adjustsFontSizeToFitWidth... Many things. But in your case looks like you need to make the label bigger.
0
 
LVL 1

Author Comment

by:pingeyeg
ID: 39681190
That was odd that lineBreakMode allowed it to be displayed all on the one line.  Eitherway, thanks for the tip.  That worked.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A common question or need, when setting-up a new Mac for someone would be to make all of the applications, installed, available from the dock. Many people often do not realize an application is installed unless it is in the dock. Creating a custo…
A lot of new and distinct gadgets are making their appearance every other day. The latest gadget that has wooed the attention of all gadget lovers and non gadget lovers alike is the Smartwatch. This tiny gadget is capable of offering live access to …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question