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 12590 Details for
Bug 67885
[Eclipse Forms] Label on a coloured parent has repaint problems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
The fix to use 'getSize' instead of 'computeSize'
linux-repaint-patch.txt (text/plain), 1.07 KB, created by
Dejan Glozic
on 2004-06-21 14:36:04 EDT
(
hide
)
Description:
The fix to use 'getSize' instead of 'computeSize'
Filename:
MIME Type:
Creator:
Dejan Glozic
Created:
2004-06-21 14:36:04 EDT
Size:
1.07 KB
patch
obsolete
>Index: src/org/eclipse/ui/forms/widgets/Section.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/Section.java,v >retrieving revision 1.6 >diff -u -r1.6 Section.java >--- src/org/eclipse/ui/forms/widgets/Section.java 12 Apr 2004 22:31:31 -0000 1.6 >+++ src/org/eclipse/ui/forms/widgets/Section.java 21 Jun 2004 18:28:31 -0000 >@@ -275,16 +275,16 @@ > Point tsize = null; > Point tcsize = null; > if (toggle != null) >- tsize = toggle.computeSize(SWT.DEFAULT, SWT.DEFAULT, true); >+ tsize = toggle.getSize(); > int twidth = bounds.width - marginWidth - marginWidth; > if (tsize != null) > twidth -= tsize.x + GAP; > if (getTextClient() != null) > tcsize = getTextClient() >- .computeSize(SWT.DEFAULT, SWT.DEFAULT, true); >+ .getSize(); > if (tcsize != null) > twidth -= tcsize.x + GAP; >- Point size = textLabel.computeSize(twidth, SWT.DEFAULT, true); >+ Point size = textLabel.getSize(); > int tvmargin = GAP; > int theight = 0; > if (tsize != null)
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 67885
: 12590