From 36c44180e2761a446f7cb560208be94b590fa39c Mon Sep 17 00:00:00 2001 From: Eric Rozell Date: Thu, 23 Feb 2017 16:33:21 -0500 Subject: [PATCH] fix(Padding): copy paste error for vertical padding (#1031) Fixes #1024 --- ReactWindows/ReactNative.Shared/UIManager/ReactShadowNode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactWindows/ReactNative.Shared/UIManager/ReactShadowNode.cs b/ReactWindows/ReactNative.Shared/UIManager/ReactShadowNode.cs index 4c6130569db..9eedcd03aba 100644 --- a/ReactWindows/ReactNative.Shared/UIManager/ReactShadowNode.cs +++ b/ReactWindows/ReactNative.Shared/UIManager/ReactShadowNode.cs @@ -1205,7 +1205,7 @@ private void SetPadding(YogaNode node, int spacingType, float padding) node.PaddingHorizontal = padding; break; case YogaEdge.Vertical: - node.PaddingHorizontal = padding; + node.PaddingVertical = padding; break; case YogaEdge.All: node.Padding = padding;