Skip to content

Commit

Permalink
Increased icon padding for phetsims/atomic-interactions#74
Browse files Browse the repository at this point in the history
  • Loading branch information
SaurabhTotey authored and SaurabhTotey committed Apr 17, 2020
1 parent ed5b448 commit 162cf22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/atomic-interactions/view/ForcesAccordionBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const vanderwaalsString = statesOfMatterStrings.vanderwaals;
// constants
const TEXT_LABEL_MAX_WIDTH = 175; // max width of text label in the panel
const RADIO_BUTTON_RADIUS = 6;
const ICON_PADDING = 25; // empirically determined to put the icons in a good position on the panel
const ICON_PADDING = 35; // empirically determined to put the icons in a good position on the panel

/**
* @param {Property<string>} forcesProperty that determines which forces to display
Expand Down Expand Up @@ -227,4 +227,4 @@ function ForcesAccordionBox( forcesProperty, forceControlPanelExpandProperty, op
statesOfMatter.register( 'ForcesAccordionBox', ForcesAccordionBox );

inherit( AccordionBox, ForcesAccordionBox );
export default ForcesAccordionBox;
export default ForcesAccordionBox;

0 comments on commit 162cf22

Please sign in to comment.