Skip to content

Commit a31062d

Browse files
committed
Added side padding to chart
1 parent a0fbc0f commit a31062d

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/MyStore/PeriodDataViewController.xib

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,32 @@
158158
</view>
159159
</subviews>
160160
</stackView>
161-
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zPE-Y0-ax8" customClass="BarChartView" customModule="Charts">
161+
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3LG-lq-6W2">
162162
<rect key="frame" x="0.0" y="88.5" width="375" height="508.5"/>
163-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
164-
<constraints>
165-
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="175" id="7hy-0X-Qlw"/>
166-
</constraints>
167-
</view>
163+
<subviews>
164+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bHo-ih-qrA">
165+
<rect key="frame" x="0.0" y="0.0" width="14" height="508.5"/>
166+
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
167+
<constraints>
168+
<constraint firstAttribute="width" constant="14" id="a3T-HU-g4E"/>
169+
</constraints>
170+
</view>
171+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zPE-Y0-ax8" customClass="BarChartView" customModule="Charts">
172+
<rect key="frame" x="14" y="0.0" width="347" height="508.5"/>
173+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
174+
<constraints>
175+
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="175" id="7hy-0X-Qlw"/>
176+
</constraints>
177+
</view>
178+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aWR-1n-XPz">
179+
<rect key="frame" x="361" y="0.0" width="14" height="508.5"/>
180+
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
181+
<constraints>
182+
<constraint firstAttribute="width" constant="14" id="KRJ-Jf-3tM"/>
183+
</constraints>
184+
</view>
185+
</subviews>
186+
</stackView>
168187
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="0Wi-nd-Ucs">
169188
<rect key="frame" x="0.0" y="597" width="375" height="50"/>
170189
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>

0 commit comments

Comments
 (0)