Issue #32 resolved

Difference with PSMultiValueSpecifier in 4.0

Anonymous created an issue

Perhaps this was the behavior in past versions of the Settings app, but the behavior of PSMultiValueSpecifier when there is no label is different between InAppSettings and the Settings app.

To fix this in InAppSettingsTableCell.c I've changed this:

if([self.setting isType:InAppSettingsPSMultiValueSpecifier] && [[self.setting localizedTitle] length] == 0){
    valueFrame.origin.x = InAppSettingsCellPadding;
}else{
    valueFrame.origin.x = (CGFloat)round((InAppSettingsScreenWidth-(InAppSettingsCellPadding*(3+disclosure)))-valueFrame.size.width);
}

To this:

valueFrame.origin.x = (CGFloat)round((InAppSettingsScreenWidth-(InAppSettingsCellPadding*(3+disclosure)))-valueFrame.size.width);

Specifically the detail text gets put where the label belongs... But Settings app does not do this, at least not in 4.0+ (using 4.2).

Comments (2)

  1. Log in to comment