|
@@ -1238,7 +1238,7 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:
|
|
|
_qtyLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.itemListTable.bounds.size.width - 200, 5.5, 40, 22)];
|
|
_qtyLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.itemListTable.bounds.size.width - 200, 5.5, 40, 22)];
|
|
|
_qtyLabel.text = @"QTY";
|
|
_qtyLabel.text = @"QTY";
|
|
|
_qtyLabel.textAlignment = NSTextAlignmentCenter;
|
|
_qtyLabel.textAlignment = NSTextAlignmentCenter;
|
|
|
- _qtyLabel.autoresizingMask=UIViewAutoresizingFlexibleWidth;
|
|
|
|
|
|
|
+ _qtyLabel.autoresizingMask= UIViewAutoresizingFlexibleLeftMargin;
|
|
|
}
|
|
}
|
|
|
return _qtyLabel;
|
|
return _qtyLabel;
|
|
|
}
|
|
}
|
|
@@ -1255,6 +1255,7 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
|
|
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
|
|
|
|
|
+
|
|
|
self.sortItemController.view.frame = self.view.bounds;
|
|
self.sortItemController.view.frame = self.view.bounds;
|
|
|
self.qtyLabel.frame = CGRectMake(self.itemListTable.bounds.size.width - 200, 5.5, 40, 22);
|
|
self.qtyLabel.frame = CGRectMake(self.itemListTable.bounds.size.width - 200, 5.5, 40, 22);
|
|
|
|
|
|