diff --git a/js/NavigationBarScreenButton.js b/js/NavigationBarScreenButton.js index 8792454e..9c2e92ba 100644 --- a/js/NavigationBarScreenButton.js +++ b/js/NavigationBarScreenButton.js @@ -149,6 +149,7 @@ define( function( require ) { else { // Don't allow the text to grow larger than the icon if changed later on using PhET-iO, see #438 + // Text is allowed to go beyond the bounds of the icon, hence we use `this.width` instead of `icon.width` text.maxWidth = this.width; }