diff options
author | Derrell Lipman <derrell@samba.org> | 2007-02-11 21:54:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:44:59 -0500 |
commit | cb89806824b0e317ac1a2f324d699b5fdd207ec7 (patch) | |
tree | f7085452b5c4f8bcbae845fa11d712b617d734d0 /webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/Table.js | |
parent | 7deea1aead01beabde1218379b72dd20f64f93ce (diff) | |
download | samba-cb89806824b0e317ac1a2f324d699b5fdd207ec7.tar.gz samba-cb89806824b0e317ac1a2f324d699b5fdd207ec7.tar.bz2 samba-cb89806824b0e317ac1a2f324d699b5fdd207ec7.zip |
r21286: Tree column now resizes wiith splitter adjustment, but scrollbars don't yet update properly
(This used to be commit a66b64026a5d80a1e16b2fc9665143512975a53e)
Diffstat (limited to 'webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/Table.js')
-rw-r--r-- | webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/Table.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/Table.js b/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/Table.js index 22eab024c1..cfb7b097d6 100644 --- a/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/Table.js +++ b/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/Table.js @@ -42,6 +42,9 @@ * The event data is a map with two properties: table and menu. Listeners * may add additional items to the menu, which appear at the bottom of the * menu. + * + * @event tableWidthChanged {qx.event.type.Event} + * Dispatched when the inner width of the table has changed. */ qx.OO.defineClass("qx.ui.table.Table", qx.ui.layout.VerticalBoxLayout, function(tableModel) { @@ -1207,6 +1210,8 @@ qx.Proto.setColumnWidth = function(col, width) { qx.Proto._changeInnerWidth = function(newValue, oldValue) { var self = this; window.setTimeout(function() { + self.createDispatchEvent("tableWidthChanged"); + self._updateScrollerWidths(); self._updateScrollBarVisibility(); qx.ui.core.Widget.flushGlobalQueues(); }, 0); |