From 5f34031879d29a55583398dc0dc3bdcd651aef17 Mon Sep 17 00:00:00 2001 From: zepumph Date: Tue, 30 Jul 2019 10:00:30 -0800 Subject: [PATCH] added hard coded maxHeight, https://github.com/phetsims/gravity-force-lab/issues/144 --- js/KeyboardHelpDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/KeyboardHelpDialog.js b/js/KeyboardHelpDialog.js index ad692d10..6dc3cf2f 100644 --- a/js/KeyboardHelpDialog.js +++ b/js/KeyboardHelpDialog.js @@ -50,6 +50,7 @@ define( function( require ) { // Because of the special titleNode, we set the aria-labelledby attribute manually; see below. addAriaLabelledByFromTitle: false, + maxHeight: 440, // TODO: copied from AboutDialog, see https://github.com/phetsims/gravity-force-lab/issues/144 layoutStrategy: Dialog.layoutStrategyCenteredInScreen }, options );