Skip to content

Commit

Permalink
Using spacing option instead of VStruts #253 #258.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed May 9, 2018
1 parent a061ece commit 4a04a5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/vectors/view/IndicatorVisibilityControlNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ define( function( require ) {
new VStrut( 24 ),
redLine,
new VStrut( 24 )
], yMargin: 0
], yMargin: 0,
} );
}
var controlBox = new HBox( {
Expand Down
4 changes: 1 addition & 3 deletions js/vectors/view/VectorVisibilityControlNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,11 @@ define( function( require ) {
vectorVisibilityControlsVBox = new VBox( {
children: [
vectorVisibilityCheckboxGroup,
new VStrut( 8 ),
forcesVisibilityRadioButton,
new VStrut( 8 ),
new AlignBox( forcesVisibilityCheckboxGroup, { leftMargin: 22 } ),
new VStrut( 8 ),
netForceVisibilityRadioButton
],
spacing: 8,
align: 'left',
tandem: tandem.createTandem( 'spacingUnit' )
}
Expand Down

0 comments on commit 4a04a5d

Please sign in to comment.