Skip to content

Commit

Permalink
update max width for all KeyboardHelpDialogs (HelpContent); remove ve…
Browse files Browse the repository at this point in the history
…rticalIconSpacing, HelpContent.labelWithIcon.labelFirst; see phetsims/friction#158
  • Loading branch information
zepumph committed Jan 23, 2019
1 parent 18c9fcf commit 48688a2
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ define( function( require ) {
function BalloonGrabHelpContent() {

var label = new Text( grabOrReleaseBalloonLabelString, {
font: HelpContent.DEFAULT_LABEL_FONT,
maxWidth: 225
font: HelpContent.DEFAULT_LABEL_FONT
} );

var spaceKeyNode = new SpaceKeyNode();
Expand All @@ -113,14 +112,12 @@ define( function( require ) {

// label for the first row
var moveGrabbedBalloonLabel = new Text( moveGrabbedBalloonLabelString, {
font: HelpContent.DEFAULT_LABEL_FONT,
maxWidth: 225
font: HelpContent.DEFAULT_LABEL_FONT
} );

// label for second row
var moveSlowerLabel = new Text( moveSlowerLabelString, {
font: HelpContent.DEFAULT_LABEL_FONT,
maxWidth: 225
font: HelpContent.DEFAULT_LABEL_FONT
} );

var arrowOrWasdKeysIcon = HelpContent.arrowOrWasdKeysRowIcon();
Expand Down Expand Up @@ -159,8 +156,7 @@ define( function( require ) {
function createJumpKeyRow( keyString, labelString, innerContent ) {

var label = new Text( labelString, {
font: HelpContent.DEFAULT_LABEL_FONT,
maxWidth: 150
font: HelpContent.DEFAULT_LABEL_FONT
} );

var jKey = new LetterKeyNode( 'J' );
Expand Down

0 comments on commit 48688a2

Please sign in to comment.