Fix bounds for android view
Summary: Fixes: https://fb.workplace.com/groups/443457641253219/permalink/522116393387343/ Reviewed By: richkzad Differential Revision: D43313031 fbshipit-source-id: b1f97632131cb4e71323b2c3e8cd36dfe7b0f78e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
848158d9a0
commit
ec7bd16439
@@ -299,7 +299,7 @@ object ViewDescriptor : ChainedDescriptor<View>() {
|
|||||||
props[SizeAttributeId] = InspectableValue.Size(Size(node.width, node.height))
|
props[SizeAttributeId] = InspectableValue.Size(Size(node.width, node.height))
|
||||||
|
|
||||||
props[BoundsAttributeId] =
|
props[BoundsAttributeId] =
|
||||||
InspectableValue.Bounds(Bounds(node.left, node.top, node.right, node.bottom))
|
InspectableValue.Bounds(Bounds(node.left, node.top, node.width, node.height))
|
||||||
props[PaddingAttributeId] =
|
props[PaddingAttributeId] =
|
||||||
InspectableValue.SpaceBox(
|
InspectableValue.SpaceBox(
|
||||||
SpaceBox(node.paddingTop, node.paddingRight, node.paddingBottom, node.paddingLeft))
|
SpaceBox(node.paddingTop, node.paddingRight, node.paddingBottom, node.paddingLeft))
|
||||||
|
|||||||
Reference in New Issue
Block a user