diff --git a/js/NavigationBarScreenButton.js b/js/NavigationBarScreenButton.js index 8a4e26b7..4ef3ff64 100644 --- a/js/NavigationBarScreenButton.js +++ b/js/NavigationBarScreenButton.js @@ -201,7 +201,7 @@ class NavigationBarScreenButton extends Node { text.text = name; } ); - text.boundsProperty.link( updateLayout ); + text.textProperty.link( updateLayout ); needsIconMaxWidth && assert && assert( Utils.toFixed( this.width, 0 ) === Utils.toFixed( options.maxButtonWidth, 0 ), `this.width ${this.width} !== options.maxButtonWidth ${options.maxButtonWidth}` );