Permalink
Browse files

Changed segmented so that all cells are the same size by default. Thi…

…s should be available from a property, will do it later
  • Loading branch information...
1 parent 410a71a commit fbf7a2fac3f9acca00fa0c492b5bb6386a48dae2 @escoz escoz committed Apr 23, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 quickdialog/QSegmentedElement.m
@@ -43,8 +43,7 @@ - (UITableViewCell *)getCellForTableView:(QuickDialogTableView *)tableView contr
control.frame = CGRectMake(9, 0, 302, 46);
control.segmentedControlStyle = UISegmentedControlStyleBar;
control.selectedSegmentIndex = _selected;
- control.apportionsSegmentWidthsByContent = YES;
-
+
[cell addSubview:control];
return cell;
}

0 comments on commit fbf7a2f

Please sign in to comment.