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 e161b46 commit 04dc6bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/common/view/CoulombsLawKeyboardHelpContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,9 @@ define( require => {
}
}

function createRow ( labelText, icon, description, iconOptions ) {
function createRow( labelText, icon, description, iconOptions ) {
const label = new Text( labelText, {
font: HelpContent.DEFAULT_LABEL_FONT,
maxWidth: 225
font: HelpContent.DEFAULT_LABEL_FONT
} );

return HelpContent.labelWithIcon( label, icon, description, iconOptions ? { iconOptions } : null );
Expand Down

0 comments on commit 04dc6bc

Please sign in to comment.