瀏覽代碼

modern library table: minor layout fix

Felix Paul Kühne 11 年之前
父節點
當前提交
6b1e4b9683
共有 2 個文件被更改,包括 5 次插入6 次删除
  1. 1 1
      AspenProject/VLCPlaylistTableViewCell.m
  2. 4 5
      Resources/VLCFuturePlaylistTableViewCell.xib

+ 1 - 1
AspenProject/VLCPlaylistTableViewCell.m

@@ -123,7 +123,7 @@
 + (CGFloat)heightOfCell
 {
     if (SYSTEM_RUNS_IN_THE_FUTURE)
-        return 185.;
+        return 90.;
 
     return 80.;
 }

+ 4 - 5
Resources/VLCFuturePlaylistTableViewCell.xib

@@ -14,12 +14,12 @@
                 <rect key="frame" x="0.0" y="0.0" width="320" height="89"/>
                 <autoresizingMask key="autoresizingMask"/>
                 <subviews>
-                    <imageView userInteractionEnabled="NO" contentMode="center" image="thumbOverlayPhone.png" id="22">
-                        <rect key="frame" x="0.0" y="0.0" width="330" height="90"/>
+                    <imageView userInteractionEnabled="NO" contentMode="center" id="4">
+                        <rect key="frame" x="0.0" y="0.0" width="320" height="90"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                     </imageView>
-                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="gradient-cell-ios7.png" id="4">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="90"/>
+                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="gradient-cell-ios7.png" id="22">
+                        <rect key="frame" x="0.0" y="0.0" width="330" height="90"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                     </imageView>
                     <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Title" lineBreakMode="wordWrap" baselineAdjustment="none" minimumFontSize="9" adjustsLetterSpacingToFitWidth="YES" id="6">
@@ -62,6 +62,5 @@
     </objects>
     <resources>
         <image name="gradient-cell-ios7.png" width="1" height="90"/>
-        <image name="thumbOverlayPhone.png" width="129" height="75"/>
     </resources>
 </document>