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 114220 Details for
Bug 226172
GridLayout.layout(...) ignores border insets
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]
proposed patch
Draw2D_GridLayout (text/plain), 1.21 KB, created by
Alex Boyko
on 2008-10-03 15:34:26 EDT
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Alex Boyko
Created:
2008-10-03 15:34:26 EDT
Size:
1.21 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.draw2d >Index: src/org/eclipse/draw2d/GridLayout.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.draw2d/src/org/eclipse/draw2d/GridLayout.java,v >retrieving revision 1.1 >diff -u -r1.1 GridLayout.java >--- src/org/eclipse/draw2d/GridLayout.java 21 Mar 2007 19:54:48 -0000 1.1 >+++ src/org/eclipse/draw2d/GridLayout.java 3 Oct 2008 19:34:04 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2007 IBM Corporation and others. >+ * Copyright (c) 2000, 2008 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -197,6 +197,13 @@ > size.width = wHint; > if (hHint != SWT.DEFAULT) > size.height = hHint; >+ >+ /* >+ * Adjust for the size of the border >+ */ >+ size.expand(container.getInsets().getWidth(), >+ container.getInsets().getHeight()); >+ size.union(getBorderPreferredSize(container)); > > return size; > }
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
Flags:
nyssen
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 226172
: 114220