diff options
author | Derrell Lipman <derrell@samba.org> | 2007-02-11 20:22:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:44:59 -0500 |
commit | 7deea1aead01beabde1218379b72dd20f64f93ce (patch) | |
tree | e23a057f604558f7a6c9d4267bbf39ef7cf9f8ea /webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/ResizeBehaviorColumnData.js | |
parent | 9bdb49455aa6ad38f71375f602e691d2b7765d04 (diff) | |
download | samba-7deea1aead01beabde1218379b72dd20f64f93ce.tar.gz samba-7deea1aead01beabde1218379b72dd20f64f93ce.tar.bz2 samba-7deea1aead01beabde1218379b72dd20f64f93ce.zip |
r21285: - Add the new ResizeTableColumnModel and make use of it in TreeVirtual. This
allows the Ldb Browser tree to properly size itself upon initially appearing
and upon window resizes. There are still a few problems with it that I need
to resolve, including an occasional set of double scrollbars, and making it
resize the tree column when the splitter is resized.
(This used to be commit c3c93ad36a9e850865aa8b09e319a77441243b01)
Diffstat (limited to 'webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/ResizeBehaviorColumnData.js')
-rw-r--r-- | webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/ResizeBehaviorColumnData.js | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/ResizeBehaviorColumnData.js b/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/ResizeBehaviorColumnData.js new file mode 100644 index 0000000000..ae940cd87a --- /dev/null +++ b/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/ui/table/ResizeBehaviorColumnData.js @@ -0,0 +1,37 @@ +/* ************************************************************************ + + qooxdoo - the new era of web development + + http://qooxdoo.org + + Copyright: + 2007 Derrell Lipman + + License: + LGPL: http://www.gnu.org/licenses/lgpl.html + EPL: http://www.eclipse.org/org/documents/epl-v10.php + See the LICENSE file in the project's top-level directory for details. + + Authors: + * Derrell Lipman (derrell) + +************************************************************************ */ + +/* ************************************************************************ + +#module(table) + +************************************************************************ */ + +/** + * All of the resizing information about a column. + */ +qx.OO.defineClass("qx.ui.table.ResizeBehaviorColumnData", + qx.ui.core.Widget, +function() +{ + qx.ui.core.Widget.call(this); + + // Assume equal flex width for all columns + this.setWidth("1*"); +}); |