浏览代码

MovieCollectionViewCell: Thumbnail: Set contentMode to aspectToFill

Soomin Lee 5 年之前
父节点
当前提交
79fd9a95f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/MediaCategoryCells/MovieCollectionViewCell.xib

+ 1 - 1
Sources/MediaCategoryCells/MovieCollectionViewCell.xib

@@ -22,7 +22,7 @@
                     <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="top" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="iWM-y0-SUe">
                         <rect key="frame" x="0.0" y="0.0" width="309" height="230"/>
                         <subviews>
-                            <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="jmi-G0-XOo" userLabel="Thumbnail">
+                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="jmi-G0-XOo" userLabel="Thumbnail">
                                 <rect key="frame" x="0.0" y="0.0" width="309" height="193"/>
                                 <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/>
                                 <constraints>