fix entities dialog
This commit is contained in:
parent
750d58ce4f
commit
8b4a2cdfc3
1 changed files with 12 additions and 2 deletions
|
@ -34,7 +34,7 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
width: 122
|
width: 122
|
||||||
})
|
})
|
||||||
.css({
|
.css({
|
||||||
float: 'left',
|
float: 'right',
|
||||||
margin: '4px 4px 4px 2px'
|
margin: '4px 4px 4px 2px'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
|
@ -57,7 +57,7 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
$list = Ox.TableList({
|
$list = Ox.TableList({
|
||||||
columns: [
|
columns: [
|
||||||
{id: 'id', title: 'ID', operator: '+'},
|
{id: 'id', title: 'ID', operator: '+'},
|
||||||
{id: 'name', title: 'Name', operator: '+', visible: true, width: 256}
|
{id: 'name', title: 'Name', operator: '+', visible: true, width: 256 - Ox.SCROLLBAR_SIZE}
|
||||||
],
|
],
|
||||||
items: function(options, callback) {
|
items: function(options, callback) {
|
||||||
pandora.api.findEntities({
|
pandora.api.findEntities({
|
||||||
|
@ -106,6 +106,11 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
{element: $listStatusbar, size: 16}
|
{element: $listStatusbar, size: 16}
|
||||||
],
|
],
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
|
})
|
||||||
|
.bindEvent({
|
||||||
|
resize: function() {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
$entity = Ox.Element(),
|
$entity = Ox.Element(),
|
||||||
|
@ -191,6 +196,11 @@ pandora.ui.entitiesDialog = function(options) {
|
||||||
{element: $itemStatusbar, size: 16}
|
{element: $itemStatusbar, size: 16}
|
||||||
],
|
],
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
|
})
|
||||||
|
.bindEvent({
|
||||||
|
resize: function() {
|
||||||
|
// ...
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
$content = Ox.SplitPanel({
|
$content = Ox.SplitPanel({
|
||||||
|
|
Loading…
Reference in a new issue