Skip to content

Commit

Permalink
Don't stretch description for sound, see: phetsims/number-pairs#44
Browse files Browse the repository at this point in the history
marlitas committed Jan 28, 2025
1 parent b324b66 commit bf24c0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/common/view/AutoHearControl.ts
Original file line number Diff line number Diff line change
@@ -62,7 +62,8 @@ export default class AutoHearControl extends Node {
labelNode: new Text( labelStringProperty, PreferencesDialogConstants.CONTROL_LABEL_OPTIONS ),
descriptionNode: new Text( descriptionStringProperty, PreferencesDialogConstants.CONTROL_DESCRIPTION_OPTIONS ),
controlNode: toggleSwitch,
ySpacing: NumberSuiteCommonConstants.PREFERENCES_DESCRIPTION_Y_SPACING
ySpacing: NumberSuiteCommonConstants.PREFERENCES_DESCRIPTION_Y_SPACING,
allowDescriptionStretch: false
} );
this.addChild( control );

0 comments on commit bf24c0b

Please sign in to comment.