Skip to content

Commit

Permalink
adjust maxWidth of Environmental Factors checkboxes, #319
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Oct 24, 2022
1 parent eae5ce0 commit 3fb177b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/common/view/LimitedFoodCheckbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class LimitedFoodCheckbox extends EnvironmentalFactorCheckbox {

const labelText = new Text( NaturalSelectionStrings.limitedFoodStringProperty, {
font: NaturalSelectionConstants.CHECKBOX_FONT,
maxWidth: 150, // determined empirically
maxWidth: 105, // determined empirically
tandem: options.tandem.createTandem( 'labelText' )
} );

Expand Down
2 changes: 1 addition & 1 deletion js/common/view/ToughFoodCheckbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ToughFoodCheckbox extends EnvironmentalFactorCheckbox {

const labelText = new Text( NaturalSelectionStrings.toughFoodStringProperty, {
font: NaturalSelectionConstants.CHECKBOX_FONT,
maxWidth: 110, // determined empirically
maxWidth: 105, // determined empirically
tandem: options.tandem.createTandem( 'labelText' )
} );

Expand Down
2 changes: 1 addition & 1 deletion js/common/view/WolvesCheckbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class WolvesCheckbox extends EnvironmentalFactorCheckbox {

const labelText = new Text( NaturalSelectionStrings.wolvesStringProperty, {
font: NaturalSelectionConstants.CHECKBOX_FONT,
maxWidth: 110, // determined empirically
maxWidth: 105, // determined empirically
tandem: options.tandem.createTandem( 'labelText' )
} );

Expand Down

0 comments on commit 3fb177b

Please sign in to comment.