diff --git a/static/js/pandora/apiDialog.js b/static/js/pandora/apiDialog.js index 08438cae9..7fdda8651 100644 --- a/static/js/pandora/apiDialog.js +++ b/static/js/pandora/apiDialog.js @@ -46,14 +46,14 @@ pandora.ui.apiDialog = function() { ], closeButton: true, content: $loading, - height: Math.round((window.innerHeight - 24) * 0.75), + height: 384, keys: {escape: 'close'}, maximizeButton: true, minHeight: 256, - minWidth: 576, + minWidth: 544 + Ox.UI.SCROLLBAR_SIZE, removeOnClose: true, title: 'API Documentation', - width: Math.round(window.innerWidth * 0.75) + width: 672 + Ox.UI.SCROLLBAR_SIZE }) .bindEvent({ close: function() { @@ -89,7 +89,7 @@ pandora.ui.apiDialog = function() { { id: 'title', visible: true, - width: 192 - Ox.UI.SCROLLBAR_SIZE + width: 128 - Ox.UI.SCROLLBAR_SIZE } ], items: items, @@ -116,7 +116,7 @@ pandora.ui.apiDialog = function() { $panel = Ox.SplitPanel({ elements: [ - {element: $list, size: 192}, + {element: $list, size: 128}, {element: $text} ], orientation: 'horizontal' diff --git a/static/js/pandora/helpDialog.js b/static/js/pandora/helpDialog.js index 162c1ef4b..ebbcea579 100644 --- a/static/js/pandora/helpDialog.js +++ b/static/js/pandora/helpDialog.js @@ -48,14 +48,14 @@ pandora.ui.helpDialog = function() { ], closeButton: true, content: $loading, - height: Math.round((window.innerHeight - 24) * 0.75), + height: 384, keys: {escape: 'close'}, maximizeButton: true, minHeight: 256, - minWidth: 576, + minWidth: 544 + Ox.UI.SCROLLBAR_SIZE, removeOnClose: true, title: 'Help', - width: Math.round(window.innerWidth * 0.75) + width: 672 + Ox.UI.SCROLLBAR_SIZE }) .bindEvent({ close: function() {