forked from 0x2620/pandora
update help and api dialogs
This commit is contained in:
parent
4e433a7c5f
commit
95cc0eeaa2
2 changed files with 8 additions and 8 deletions
|
@ -46,14 +46,14 @@ pandora.ui.apiDialog = function() {
|
||||||
],
|
],
|
||||||
closeButton: true,
|
closeButton: true,
|
||||||
content: $loading,
|
content: $loading,
|
||||||
height: Math.round((window.innerHeight - 24) * 0.75),
|
height: 384,
|
||||||
keys: {escape: 'close'},
|
keys: {escape: 'close'},
|
||||||
maximizeButton: true,
|
maximizeButton: true,
|
||||||
minHeight: 256,
|
minHeight: 256,
|
||||||
minWidth: 576,
|
minWidth: 544 + Ox.UI.SCROLLBAR_SIZE,
|
||||||
removeOnClose: true,
|
removeOnClose: true,
|
||||||
title: 'API Documentation',
|
title: 'API Documentation',
|
||||||
width: Math.round(window.innerWidth * 0.75)
|
width: 672 + Ox.UI.SCROLLBAR_SIZE
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
close: function() {
|
close: function() {
|
||||||
|
@ -89,7 +89,7 @@ pandora.ui.apiDialog = function() {
|
||||||
{
|
{
|
||||||
id: 'title',
|
id: 'title',
|
||||||
visible: true,
|
visible: true,
|
||||||
width: 192 - Ox.UI.SCROLLBAR_SIZE
|
width: 128 - Ox.UI.SCROLLBAR_SIZE
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
items: items,
|
items: items,
|
||||||
|
@ -116,7 +116,7 @@ pandora.ui.apiDialog = function() {
|
||||||
|
|
||||||
$panel = Ox.SplitPanel({
|
$panel = Ox.SplitPanel({
|
||||||
elements: [
|
elements: [
|
||||||
{element: $list, size: 192},
|
{element: $list, size: 128},
|
||||||
{element: $text}
|
{element: $text}
|
||||||
],
|
],
|
||||||
orientation: 'horizontal'
|
orientation: 'horizontal'
|
||||||
|
|
|
@ -48,14 +48,14 @@ pandora.ui.helpDialog = function() {
|
||||||
],
|
],
|
||||||
closeButton: true,
|
closeButton: true,
|
||||||
content: $loading,
|
content: $loading,
|
||||||
height: Math.round((window.innerHeight - 24) * 0.75),
|
height: 384,
|
||||||
keys: {escape: 'close'},
|
keys: {escape: 'close'},
|
||||||
maximizeButton: true,
|
maximizeButton: true,
|
||||||
minHeight: 256,
|
minHeight: 256,
|
||||||
minWidth: 576,
|
minWidth: 544 + Ox.UI.SCROLLBAR_SIZE,
|
||||||
removeOnClose: true,
|
removeOnClose: true,
|
||||||
title: 'Help',
|
title: 'Help',
|
||||||
width: Math.round(window.innerWidth * 0.75)
|
width: 672 + Ox.UI.SCROLLBAR_SIZE
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
close: function() {
|
close: function() {
|
||||||
|
|
Loading…
Reference in a new issue