Skip to content

Commit

Permalink
MassValueControlPanel numberControl fonts adjusted. #250
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed May 15, 2018
1 parent 9c95ac6 commit d632e6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/common/view/MassValueControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ define( function( require ) {
valuePattern: StringUtils.fillIn( massValueString, {
mass: '{0}'
} ),
valueFont: new PhetFont( 16 ),
valueFont: new PhetFont( 12 ),
majorTickLength: 10,
titleFont: new PhetFont( { size: 16, weight: 'bold' } ),
titleMaxWidth: 55,
Expand All @@ -62,16 +62,16 @@ define( function( require ) {
thumbFillEnabled: '#00C4DF',
thumbFillHighlighted: MassesAndSpringsConstants.THUMB_HIGHLIGHT,
stroke: null,
valueMaxWidth: 40,
valueMaxWidth: 100,
sliderIndent: 7,
majorTicks: [
{
value: range.min,
label: new Text( String( range.min ), { font: new PhetFont( 14 ) } )
label: new Text( String( range.min ), { font: new PhetFont( 12 ) } )
},
{
value: range.max,
label: new Text( String( range.max ), { font: new PhetFont( 14 ) } )
label: new Text( String( range.max ), { font: new PhetFont( 12 ) } )
}
],
layoutFunction: NumberControl.createLayoutFunction1( {
Expand Down

0 comments on commit d632e6a

Please sign in to comment.