From efc2bd86c1328fbee4f54f9e502077d4613be149 Mon Sep 17 00:00:00 2001 From: "Alex M. Sielicki" Date: Mon, 6 Nov 2017 14:59:26 -0700 Subject: [PATCH] Making controls pane not resizable. Closes #783 --- web-server/plugins/slycat-back-button-test/js/ui.js | 1 + web-server/plugins/slycat-cca/css/ui.css | 3 +++ web-server/plugins/slycat-cca/js/ui.js | 1 + web-server/plugins/slycat-parameter-image-plus-model/js/ui.js | 3 ++- web-server/plugins/slycat-parameter-image/js/ui.js | 1 + web-server/plugins/slycat-timeseries-model/js/ui.js | 1 + 6 files changed, 9 insertions(+), 1 deletion(-) diff --git a/web-server/plugins/slycat-back-button-test/js/ui.js b/web-server/plugins/slycat-back-button-test/js/ui.js index ee1847080..910a956f3 100644 --- a/web-server/plugins/slycat-back-button-test/js/ui.js +++ b/web-server/plugins/slycat-back-button-test/js/ui.js @@ -230,6 +230,7 @@ define("slycat-cca-model", ["slycat-server-root", "slycat-web-client", "slycat-d north: { size: 28, + resizable: false, }, west: { diff --git a/web-server/plugins/slycat-cca/css/ui.css b/web-server/plugins/slycat-cca/css/ui.css index 0fa049a90..767a3e52b 100644 --- a/web-server/plugins/slycat-cca/css/ui.css +++ b/web-server/plugins/slycat-cca/css/ui.css @@ -331,4 +331,7 @@ a { max-height: 500px; overflow-y: auto; +} +#controls-pane .center { + margin: 2px 0; } \ No newline at end of file diff --git a/web-server/plugins/slycat-cca/js/ui.js b/web-server/plugins/slycat-cca/js/ui.js index e728bd92e..1092ab0bf 100644 --- a/web-server/plugins/slycat-cca/js/ui.js +++ b/web-server/plugins/slycat-cca/js/ui.js @@ -246,6 +246,7 @@ define("slycat-cca-model", ["slycat-server-root", "slycat-web-client", "slycat-d north: { size: 28, + resizable: false, }, west: { diff --git a/web-server/plugins/slycat-parameter-image-plus-model/js/ui.js b/web-server/plugins/slycat-parameter-image-plus-model/js/ui.js index 020e6d94b..a4bb3f7f2 100644 --- a/web-server/plugins/slycat-parameter-image-plus-model/js/ui.js +++ b/web-server/plugins/slycat-parameter-image-plus-model/js/ui.js @@ -97,7 +97,8 @@ $("#parameter-image-plus-layout").layout( { north: { - size: 28 + size: 28, + resizable: false, }, center: { diff --git a/web-server/plugins/slycat-parameter-image/js/ui.js b/web-server/plugins/slycat-parameter-image/js/ui.js index ede78732d..f9c73f334 100644 --- a/web-server/plugins/slycat-parameter-image/js/ui.js +++ b/web-server/plugins/slycat-parameter-image/js/ui.js @@ -67,6 +67,7 @@ layout = $("#parameter-image-plus-layout").layout( north: { size: 28, + resizable: false, }, center: { diff --git a/web-server/plugins/slycat-timeseries-model/js/ui.js b/web-server/plugins/slycat-timeseries-model/js/ui.js index d52701ceb..d1ffd2c95 100644 --- a/web-server/plugins/slycat-timeseries-model/js/ui.js +++ b/web-server/plugins/slycat-timeseries-model/js/ui.js @@ -65,6 +65,7 @@ var bodyLayout = $("#timeseries-model").layout({ north : { size: 28, + resizable: false, resizeWhileDragging : false, }, west :