Discussion Forums  >  Uncategorized

Replies: 2    Views: 157

mconn17
Apple Fan
Profile
Posts: 47
Reg: Oct 24, 2011
Long Beach, NY
470
01/06/12 04:50 PM (14 years ago)

Center font in a row?

Does anyone have any idea if how to make text centered in a row? Thanks
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/06/12 10:42 PM (14 years ago)
OK, this is a total guess, but better than nothing. This will involve you tweaking some of the Objective-C code that comes with your project. I'm assuming this is for iOS. There is a file in BT_Objects called BT_cell_menuList.m. If you open up this file, and go down to line 110, you should see the following : [descriptionLabel setTextAlignment:UITextAlignmentLeft]; I'm thinking if you change it to UITextAlignmentCenter, it might work? No idea, really..just a thought! You'd have to Clean and Build your program to see the results. Mark
 
mconn17
Apple Fan
Profile
Posts: 47
Reg: Oct 24, 2011
Long Beach, NY
470
like
01/06/12 11:19 PM (14 years ago)
Thanks Mark. I Will try this
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.