Skip to content

Commit

Permalink
add max widths for strings, see #35
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Jan 7, 2025
1 parent 7f1a160 commit 37580c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/coins/view/CoinExperimentMeasurementArea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ export default class CoinExperimentMeasurementArea extends VBox {
// Create a control that consists of a label and a group of radio buttons for selecting the number of coins to model
// in the multi-coin mode.
const numberOfCoinsSelectorTitle = new Text( QuantumMeasurementStrings.identicalCoinsStringProperty, {
font: new PhetFont( 14 )
font: new PhetFont( 14 ),
maxWidth: 200 // empirically determined
} );

const createRadioButtonGroupItem = ( value: number ) => {
Expand Down

0 comments on commit 37580c4

Please sign in to comment.