Skip to content

Commit

Permalink
fix the fixed headers (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppuviarasu authored Nov 30, 2018
1 parent 9119e03 commit f3e8dc7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions tools/PrebidValidator/Dr.Prebid/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@
<scene sceneID="dvX-7T-0k5">
<objects>
<tableViewController id="Tam-cB-yRe" customClass="SettingsTableViewController" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="Hdg-U0-RSp">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" id="Hdg-U0-RSp">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="IdCell" rowHeight="65" id="nKI-5J-n6t" customClass="IdCell">
<rect key="frame" x="0.0" y="28" width="375" height="65"/>
<rect key="frame" x="0.0" y="55.5" width="375" height="65"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="nKI-5J-n6t" id="aqu-vt-vMz">
<rect key="frame" x="0.0" y="0.0" width="341" height="64.5"/>
Expand Down Expand Up @@ -162,7 +162,7 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="detailButton" indentationWidth="10" reuseIdentifier="HeaderCell" rowHeight="40" id="Yqf-DJ-zdV" customClass="HeaderCell">
<rect key="frame" x="0.0" y="93" width="375" height="40"/>
<rect key="frame" x="0.0" y="120.5" width="375" height="40"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Yqf-DJ-zdV" id="Vnl-ZQ-s09">
<rect key="frame" x="0.0" y="0.0" width="327" height="39.5"/>
Expand All @@ -186,7 +186,7 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="LabelAccessoryCell" rowHeight="43" id="7tx-vf-utY" customClass="LabelAccessoryCell">
<rect key="frame" x="0.0" y="133" width="375" height="43"/>
<rect key="frame" x="0.0" y="160.5" width="375" height="43"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="7tx-vf-utY" id="vSX-ng-C1N">
<rect key="frame" x="0.0" y="0.0" width="341" height="42.5"/>
Expand Down Expand Up @@ -223,7 +223,7 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="SegmentCell" rowHeight="58" id="JO5-sn-YdP" customClass="SegmentCell">
<rect key="frame" x="0.0" y="176" width="375" height="58"/>
<rect key="frame" x="0.0" y="203.5" width="375" height="58"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="JO5-sn-YdP" id="Psz-d0-mp0">
<rect key="frame" x="0.0" y="0.0" width="375" height="57.5"/>
Expand Down Expand Up @@ -264,7 +264,7 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="FooterCell" rowHeight="58" id="RtQ-rf-tKL" customClass="FooterCell">
<rect key="frame" x="0.0" y="234" width="375" height="58"/>
<rect key="frame" x="0.0" y="261.5" width="375" height="58"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="RtQ-rf-tKL" id="KHj-Po-21M">
<rect key="frame" x="0.0" y="0.0" width="375" height="57.5"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,15 @@ -(CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPa

if(indexPath.section == 0){
if(indexPath.row == 0){
return 55.0f;
return 53.0f;
} else if(indexPath.row == 1){
return 40.0f;
}
} else if(indexPath.section == 1){
if(indexPath.row == 0){
return 55.0f;
} else if(indexPath.row == 1){
return 40.0f;
return 45.0f;
}else {
return 61.0f;
}
Expand Down

0 comments on commit f3e8dc7

Please sign in to comment.