Home:ALL Converter>How do I change the text but keep the formatting

How do I change the text but keep the formatting

Ask Time:2010-08-02T19:07:26         Author:TheLearner

Json Formatter

How do I change the text of a label but keep the formatting as in interface builder?

//This line changes the formatting and makes the text very small
lHolidayNightCount.text = [NSString stringWithFormat:@"%f", sHolidayDuration.value];

Author:TheLearner,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/3387121/how-do-i-change-the-text-but-keep-the-formatting
mvds :

This should not happen, formatting should stay the same. Some elements have various \"states\" which can be formatted separately, maybe that's the problem?\n\nAnother feature is the auto-adjust font-size, which you may want to disable. Whatever you do, it's all solved in IB.",
2010-08-02T11:16:18
yy