Skip to content

Commit

Permalink
increase size of text for checkboxes, see #240
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Apr 2, 2020
1 parent e192ddd commit acff652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class EnergySkateParkCheckboxItem extends Checkbox {
}, options );

const textOptions = {
font: new PhetFont( 10 ),
font: new PhetFont( 13 ),
maxWidth: options.labelMaxWidth
};

Expand Down
8 changes: 1 addition & 7 deletions js/energy-skate-park/common/view/VisibilityControlsPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ class VisibilityControlsPanel extends Panel {
showPieChartCheckbox: false,
showSpeedCheckbox: false,
showGridCheckbox: true,
showReferenceHeightCheckbox: true,

itemOptions: {

// i18n, smaller than default so that long labels don't occlude the grid labels in the GridNode
labelMaxWidth: 75
}
showReferenceHeightCheckbox: true
} );

super( content, options );
Expand Down

0 comments on commit acff652

Please sign in to comment.