From 8b41ad239e5896cae27eb6b5a557f133e131bb59 Mon Sep 17 00:00:00 2001 From: Ricko99m <49644023+ricko99m@users.noreply.github.com> Date: Wed, 23 Mar 2022 19:05:49 +0100 Subject: [PATCH] fixing "height" everytime "auto" now the height is set by options --- ui/widgets/dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/widgets/dialog.js b/ui/widgets/dialog.js index 6fa585c40..e95d8c5e9 100644 --- a/ui/widgets/dialog.js +++ b/ui/widgets/dialog.js @@ -796,7 +796,7 @@ $.widget( "ui.dialog", { // Reset wrapper sizing // determine the height of all the non-content elements nonContentHeight = this.uiDialog.css( { - height: "auto", + height: options.height, width: options.width } ) .outerHeight();