Skip to content

Commit

Permalink
adjusted margins so that checkbox text can be slightly wider, see #124
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet authored and jonathanolson committed Jun 10, 2021
1 parent a6b40f1 commit 2e8ebf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/blackbody-spectrum/view/BlackbodySpectrumControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ define( require => {
// constants
const DISPLAY_FONT = new PhetFont( 18 );
const CHECKBOX_TEXT_FILL = blackbodyColorProfile.panelTextProperty;
const CHECKBOX_TEXT_WIDTH = 100;
const CHECKBOX_TEXT_WIDTH = 110;
const CONTROL_PANEL_FILL = 'rgba( 0, 0, 0, 0 )';
const CHECKBOX_COLOR = blackbodyColorProfile.panelStrokeProperty;
const CHECKBOX_TOUCH_DILATION = 6;
Expand All @@ -64,7 +64,7 @@ define( require => {
constructor( model, options ) {

options = _.extend( {
xMargin: 15,
xMargin: 10,
yMargin: 15,
lineWidth: 1,
fill: CONTROL_PANEL_FILL,
Expand Down Expand Up @@ -112,7 +112,7 @@ define( require => {
eraseButton.enabled = length !== 0;
} );

// 3 checkboxes: Peak Values, Intensity, Labels
// checkboxes
const checkboxOptions = {
checkboxColorBackground: CONTROL_PANEL_FILL,
checkboxColor: CHECKBOX_COLOR
Expand Down

0 comments on commit 2e8ebf4

Please sign in to comment.