?
Solved

UIFont max size

Posted on 2013-11-26
2
Medium Priority
?
521 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

771 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