From 22662bec3e1b7b538eaf9146dbad6b642cf1e54b Mon Sep 17 00:00:00 2001 From: denz1994 Date: Sun, 6 May 2018 16:46:11 -0400 Subject: [PATCH] Spacing option used instead of hStruts. #253 --- js/common/view/LineVisibilityNode.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/common/view/LineVisibilityNode.js b/js/common/view/LineVisibilityNode.js index 9a42009a..7b158db7 100644 --- a/js/common/view/LineVisibilityNode.js +++ b/js/common/view/LineVisibilityNode.js @@ -106,12 +106,10 @@ define( function( require ) { spacing: 24 } ); var controlBox = new HBox( { + spacing: 10, children: [ - //REVIEW: More struts, can we just use padding or other structuring instead of these? indicatorVisibilityControlsVBox, - new HStrut( 10 ), - lineVBox, - new HStrut( 10 ) + lineVBox ] } ); this.addChild( controlBox );