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 110824 Details for
Bug 215997
[JFace] Table grows on reflow when using TableColumnLayout in a Forms Section
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]
take scrollbars into account
clipboard.txt (text/plain), 1.01 KB, created by
Thomas Schindl
on 2008-08-25 13:34:53 EDT
(
hide
)
Description:
take scrollbars into account
Filename:
MIME Type:
Creator:
Thomas Schindl
Created:
2008-08-25 13:34:53 EDT
Size:
1.01 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jface >Index: src/org/eclipse/jface/layout/AbstractColumnLayout.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jface/src/org/eclipse/jface/layout/AbstractColumnLayout.java,v >retrieving revision 1.11.2.1 >diff -u -r1.11.2.1 AbstractColumnLayout.java >--- src/org/eclipse/jface/layout/AbstractColumnLayout.java 25 Aug 2008 17:08:53 -0000 1.11.2.1 >+++ src/org/eclipse/jface/layout/AbstractColumnLayout.java 25 Aug 2008 17:33:02 -0000 >@@ -234,7 +234,13 @@ > Scrollable table = getControl(composite); > int tableWidth = table.getSize().x; > int trim = computeTrim(area, table, tableWidth); >- int width = Math.max(0, area.width - trim); >+ int width; >+ >+ if( table.getVerticalBar().isVisible() ) { >+ width = Math.max(0, area.width - trim - table.getVerticalBar().getSize().x); >+ } else { >+ width = Math.max(0, area.width - trim); >+ } > > if (width > 1) > layoutTableTree(table, width, area, tableWidth < area.width);
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 215997
:
87914
| 110824 |
110825
|
110826
|
110827