Skip to content

Commit

Permalink
Adjusting sizability for current cases with layout changes in buttons…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Jun 21, 2024
1 parent e515c52 commit f5a3275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/micro/view/QuadEmissionFrequencyControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ARROW_COLOR = 'black';
// Create a layout box which holds a single panel of this control panel.
const createRadioButtonContent = ( emitterImage, photonNode ) => {
emitterImage.scale( 0.27 ); // Scale emitter image to fit in the panel, scale factor determined empirically.
return new HBox( { spacing: 10, children: [ emitterImage, photonNode ] } );
return new HBox( { spacing: 10, sizable: false, children: [ emitterImage, photonNode ] } );
};

class QuadEmissionFrequencyControlPanel extends Node {
Expand Down

0 comments on commit f5a3275

Please sign in to comment.