Skip to content

Commit

Permalink
maxWidth added to Movable Line string. #293
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Jul 17, 2018
1 parent adac290 commit 22e5d61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/common/view/LineVisibilityNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ define( function( require ) {
}, {
content: new HBox( {
children: [ new Text( movableLineString, {
font: MassesAndSpringsConstants.TITLE_FONT, tandem: tandem.createTandem( 'movableLineString' )
font: MassesAndSpringsConstants.TITLE_FONT, maxWidth: 225, tandem: tandem.createTandem( 'movableLineString' )
} ) ]
} ),
property: model.movableLineVisibleProperty,
Expand Down
4 changes: 2 additions & 2 deletions js/vectors/view/IndicatorVisibilityControlNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ define( function( require ) {
}, {
content: new Text( movableLineString, {
font: MassesAndSpringsConstants.TITLE_FONT,
maxWidth: 205,
maxWidth: 225,
tandem: tandem.createTandem( 'movableLineString' )
} ),
property: model.movableLineVisibleProperty
Expand All @@ -134,7 +134,7 @@ define( function( require ) {
}, {
content: new Text( movableLineString, {
font: MassesAndSpringsConstants.TITLE_FONT,
maxWidth: 205,
maxWidth: 225,
tandem: tandem.createTandem( 'movableLineString' )
} ),
property: model.movableLineVisibleProperty
Expand Down

0 comments on commit 22e5d61

Please sign in to comment.