Skip to content

Commit

Permalink
Modify image scale option for mart ci image
Browse files Browse the repository at this point in the history
  • Loading branch information
jinios committed Feb 2, 2019
1 parent 675842e commit 2f75429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MartHoliday/MartHoliday/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -472,10 +472,10 @@ Cgo
</objects>
<point key="canvasLocation" x="648.79999999999995" y="157.87106446776613"/>
</scene>
<!--View Controller-->
<!--Location Search View Controller-->
<scene sceneID="U0x-QV-y44">
<objects>
<viewController id="0c7-x9-EAa" sceneMemberID="viewController">
<viewController id="0c7-x9-EAa" customClass="LocationSearchViewController" customModule="MartHoliday" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="iGd-SD-Jr7">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand Down
2 changes: 1 addition & 1 deletion MartHoliday/MartHoliday/View/SelectionTableViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SelectionTableViewCell: UITableViewCell {
override func awakeFromNib() {
super.awakeFromNib()
self.backgroundColor = UIColor(named: "mh-lightgray")
martImage.contentMode = .scaleAspectFit
martImage.contentMode = .scaleAspectFill
martImage.clipsToBounds = true
}

Expand Down

0 comments on commit 2f75429

Please sign in to comment.