dennisreimann / ioctocat

iOctocat v1 - GitHub for iOS (works on the iPhone, iPad, and iPod Touch)
http://ioctocat.com/
1.65k stars 256 forks source link

feedControl segmented control doesn't resize automatically #71

Closed jessearmand closed 13 years ago

jessearmand commented 13 years ago

I have to add this in viewDidLoad to fit the title for each of the segmented control item: [feedControl sizeToFit];

dennisreimann commented 13 years ago

When and where doesn't the item resize properly? Do you have a screenshot for that?

jessearmand commented 13 years ago

It's on MyFeedsController.m. The segmented control on the navigation bar of the "Feeds" tab item. The titles are "News Feed" and "My Activity".

It wasn't like this before, but I did a rebuild with the latest version on the master branch. I installed, and there's the problem. So, I have to add the line above to viewDidLoad.

Sorry, I can't provide you a screenshot for now, just imagine that the segmented control has a very small width.

dennisreimann commented 13 years ago

Hmm, I can't reproduce it, which version of the SDK are you building with? For me 3.0 works fine :)

jessearmand commented 13 years ago

I'm using iPhone OS 3.2 as a base SDK, and targeting iPhone OS 3.0 at minimum. I installed this on iPhone OS 3.1.2. It could be something with the base SDK and target combination.

dennisreimann commented 13 years ago

Does this still occur with the current version (1.2.0)?

jessearmand commented 13 years ago

Not anymore in iOS 4.

dennisreimann commented 13 years ago

okay, thank you for verifying that :)