From 8b4a2cdfc3feee533f60e2ef37eccbb0019913bf Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 19 Nov 2014 19:21:59 +0000 Subject: [PATCH] fix entities dialog --- static/js/entitiesDialog.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/static/js/entitiesDialog.js b/static/js/entitiesDialog.js index 801fbe930..21eda3a89 100644 --- a/static/js/entitiesDialog.js +++ b/static/js/entitiesDialog.js @@ -34,7 +34,7 @@ pandora.ui.entitiesDialog = function(options) { width: 122 }) .css({ - float: 'left', + float: 'right', margin: '4px 4px 4px 2px' }) .bindEvent({ @@ -57,7 +57,7 @@ pandora.ui.entitiesDialog = function(options) { $list = Ox.TableList({ columns: [ {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) { pandora.api.findEntities({ @@ -106,6 +106,11 @@ pandora.ui.entitiesDialog = function(options) { {element: $listStatusbar, size: 16} ], orientation: 'vertical' + }) + .bindEvent({ + resize: function() { + // ... + } }), $entity = Ox.Element(), @@ -191,6 +196,11 @@ pandora.ui.entitiesDialog = function(options) { {element: $itemStatusbar, size: 16} ], orientation: 'vertical' + }) + .bindEvent({ + resize: function() { + // ... + } }), $content = Ox.SplitPanel({