Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 199520 Details for
Bug 351545
[Table] Changing the number of fixed columns causes flickering
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
fix for tree_table_merge branch
cfc.patch (text/plain), 2.34 KB, created by
Tim Buschtoens
on 2011-07-12 14:00:04 EDT
(
hide
)
Description:
fix for tree_table_merge branch
Filename:
MIME Type:
Creator:
Tim Buschtoens
Created:
2011-07-12 14:00:04 EDT
Size:
2.34 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.q07 >Index: js/org/eclipse/rwt/TreeRowContainerWrapper.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/Attic/TreeRowContainerWrapper.js,v >retrieving revision 1.1.2.1 >diff -u -r1.1.2.1 TreeRowContainerWrapper.js >--- js/org/eclipse/rwt/TreeRowContainerWrapper.js 6 Jul 2011 10:58:34 -0000 1.1.2.1 >+++ js/org/eclipse/rwt/TreeRowContainerWrapper.js 12 Jul 2011 17:20:06 -0000 >@@ -90,6 +90,7 @@ > > setFixedColumns : function( value ) { > this._fixedColumns = value; >+ this._updateConfig(); > }, > > getFixedColumns : function() { >#P org.eclipse.rap.rwt.q07.jstest >Index: js/org/eclipse/rwt/test/tests/TreeUtilTest.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test/org.eclipse.rap.rwt.q07.jstest/js/org/eclipse/rwt/test/tests/TreeUtilTest.js,v >retrieving revision 1.1.2.10 >diff -u -r1.1.2.10 TreeUtilTest.js >--- js/org/eclipse/rwt/test/tests/TreeUtilTest.js 4 Jul 2011 14:57:38 -0000 1.1.2.10 >+++ js/org/eclipse/rwt/test/tests/TreeUtilTest.js 12 Jul 2011 17:20:07 -0000 >@@ -236,7 +236,6 @@ > }, > > testCreateNormalTreeWithFixedColumns : function() { >- var testUtil = org.eclipse.rwt.test.fixture.TestUtil; > var tree = this._createSplitTree(); > assertIdentical( tree, tree._rowContainer.getSubContainer( 0 ).getParent() ); > assertIdentical( tree, tree._rowContainer.getSubContainer( 1 ).getParent() ); >@@ -248,8 +247,13 @@ > var testUtil = org.eclipse.rwt.test.fixture.TestUtil; > var tree = this._createSplitTree(); > assertEquals( 2, tree.getRowContainer().getFixedColumns() ); >- org.eclipse.rwt.TreeUtil.setFixedColumns( tree, 3 ); >- assertEquals( 3, tree.getRowContainer().getFixedColumns() ); >+ var containerEl = tree.getRowContainer().getSubContainer( 0 ).getElement(); >+ var orgWidth = parseInt( containerEl.style.width ); >+ org.eclipse.rwt.TreeUtil.setFixedColumns( tree, 3 ); >+ assertEquals( 3, tree.getRowContainer().getFixedColumns() ); >+ testUtil.flush(); >+ var newWidth = parseInt( containerEl.style.width ); >+ assertTrue( newWidth > orgWidth ); > tree.destroy(); > }, >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 351545
: 199520