Skip to content

Commit

Permalink
Bar item images resized
Browse files Browse the repository at this point in the history
  • Loading branch information
hardyrz committed Jul 6, 2017
1 parent ec1afaf commit 6d4f90b
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 12 deletions.
5 changes: 5 additions & 0 deletions iExpense/Assets.xcassets/account_icon.imageset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"filename" : "account_icon.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "account_icon.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "account_icon-1.png",
Expand Down
Binary file modified iExpense/Assets.xcassets/account_icon.imageset/account_icon-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified iExpense/Assets.xcassets/account_icon.imageset/account_icon-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified iExpense/Assets.xcassets/account_icon.imageset/account_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified iExpense/Assets.xcassets/value_icon.imageset/value_icon-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified iExpense/Assets.xcassets/value_icon.imageset/value_icon-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified iExpense/Assets.xcassets/value_icon.imageset/value_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 6 additions & 12 deletions iExpense/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@
<constraint firstAttribute="trailingMargin" secondItem="P0e-H8-xJG" secondAttribute="trailing" id="mvu-56-wcb"/>
</constraints>
</view>
<tabBarItem key="tabBarItem" title="Accounts" image="account_icon" selectedImage="account_icon" id="XE5-hS-198">
<inset key="imageInsets" minX="28" minY="28" maxX="28" maxY="28"/>
</tabBarItem>
<tabBarItem key="tabBarItem" title="Accounts" image="account_icon" selectedImage="account_icon" id="XE5-hS-198"/>
<connections>
<outlet property="tableView" destination="P0e-H8-xJG" id="zSS-Cv-1Mh"/>
</connections>
Expand Down Expand Up @@ -494,9 +492,7 @@
<constraint firstItem="ncS-lJ-JFZ" firstAttribute="leading" secondItem="dba-gi-WHj" secondAttribute="leadingMargin" id="wIU-u8-RFY"/>
</constraints>
</view>
<tabBarItem key="tabBarItem" title="Expenses" image="value_icon" selectedImage="value_icon" id="kCk-hz-Lc1">
<inset key="imageInsets" minX="22" minY="24" maxX="22" maxY="20"/>
</tabBarItem>
<tabBarItem key="tabBarItem" title="Expenses" image="value_icon" selectedImage="value_icon" id="kCk-hz-Lc1"/>
<simulatedTabBarMetrics key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="barIcon" destination="kCk-hz-Lc1" id="FpV-i3-UL1"/>
Expand Down Expand Up @@ -588,9 +584,7 @@
<constraint firstItem="xS1-aJ-yY5" firstAttribute="top" secondItem="0Q9-kz-LjR" secondAttribute="top" constant="20" id="v7v-sf-E8O"/>
</constraints>
</view>
<tabBarItem key="tabBarItem" title="Categories" image="category_icon" selectedImage="category_icon" id="o6a-Xr-fgs">
<inset key="imageInsets" minX="27" minY="28" maxX="27" maxY="26"/>
</tabBarItem>
<tabBarItem key="tabBarItem" title="Categories" image="category_icon" selectedImage="category_icon" id="o6a-Xr-fgs"/>
<simulatedTabBarMetrics key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="barIcon" destination="o6a-Xr-fgs" id="HhA-w1-hJI"/>
Expand Down Expand Up @@ -694,8 +688,8 @@
</scene>
</scenes>
<resources>
<image name="account_icon" width="128" height="128"/>
<image name="category_icon" width="128" height="128"/>
<image name="value_icon" width="128" height="128"/>
<image name="account_icon" width="48" height="48"/>
<image name="category_icon" width="48" height="48"/>
<image name="value_icon" width="48" height="48"/>
</resources>
</document>

0 comments on commit 6d4f90b

Please sign in to comment.