iOS Question Label text alignment and max font size?

Arf

Well-Known Member
Licensed User
Longtime User
I've got a label which fills the whole screen, text alignment set to centre, and font size is 200 - the biggest the designer will allow.

The text appears below centre, and I want it larger - to fill the space as much as possible. Thought I could make it 400 or something and let the 'fit text' setting do it's thing to reduce it to available space, but the max font size of 200 is not big enough to do this. Here's a screenshot (attached).

How can I make the text appear in the centre, and is there any way I can make that text bigger?
 

Attachments

  • IMG_8877.PNG
    22.5 KB · Views: 222

tufanv

Expert
Licensed User
Longtime User
did you try the code module fora bigger size

B4X:
lblsehir.Font=Font.CreateNew2("HelveticaNeue",240)

for example
 
Upvote 0

Arf

Well-Known Member
Licensed User
Longtime User
This did not seem to change the font size at all, just tried it. Odd..
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…