<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,6 +4,7 @@
 @interface TextCell : UITableViewCell {
   @private
 	IBOutlet UILabel *contentTextLabel;
+	CGFloat maxWidth;
 }
 
 @property (nonatomic, readonly) BOOL hasContent;</diff>
      <filename>Classes/TextCell.h</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,10 @@
 
 @implementation TextCell
 
+- (void)awakeFromNib {
+	maxWidth = contentTextLabel.frame.size.width;
+}
+
 - (void)dealloc {
 	[contentTextLabel release];
     [super dealloc];
@@ -11,7 +15,6 @@
 - (void)setContentText:(NSString *)theText {
 	contentTextLabel.text = theText;
 	[contentTextLabel sizeToFit];
-	CGFloat maxWidth = 275;
 	if (contentTextLabel.frame.size.width &gt; maxWidth) {
 		contentTextLabel.frame = CGRectMake(contentTextLabel.frame.origin.x, contentTextLabel.frame.origin.y, maxWidth, self.height);
 	}</diff>
      <filename>Classes/TextCell.m</filename>
    </modified>
    <modified>
      <diff>@@ -32,7 +32,7 @@
 		&lt;/dict&gt;
 	&lt;/array&gt;
 	&lt;key&gt;CFBundleVersion&lt;/key&gt;
-	&lt;string&gt;1.0.8&lt;/string&gt;
+	&lt;string&gt;1.0.8.2&lt;/string&gt;
 	&lt;key&gt;LSRequiresIPhoneOS&lt;/key&gt;
 	&lt;true/&gt;
 	&lt;key&gt;NSMainNibFile&lt;/key&gt;</diff>
      <filename>Info.plist</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b4488c563dfe286dfb52bdbc752af640382ebb07</id>
    </parent>
  </parents>
  <author>
    <name>dbloete</name>
    <email>mail@dennisbloete.de</email>
  </author>
  <url>http://github.com/dbloete/ioctocat/commit/c0f8ba59f85a414a2dbe1fdbd7c0182b772bf17d</url>
  <id>c0f8ba59f85a414a2dbe1fdbd7c0182b772bf17d</id>
  <committed-date>2009-10-14T11:37:11-07:00</committed-date>
  <authored-date>2009-10-14T11:37:11-07:00</authored-date>
  <message>Refactored the TextCells maxWidth</message>
  <tree>13bf1a6f0908adfe8d24fbdd8b23f680e3a8a844</tree>
  <committer>
    <name>dbloete</name>
    <email>mail@dennisbloete.de</email>
  </committer>
</commit>
