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 284444 Details for
Bug 567855
[Big Sur] SWT.BORDER causing incorrect render of child composite
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.
Snippet demonstrating problem
snippet.txt (text/plain), 836 bytes, created by
Ian Sentina
on 2020-10-13 22:27:29 EDT
(
hide
)
Description:
Snippet demonstrating problem
Filename:
MIME Type:
Creator:
Ian Sentina
Created:
2020-10-13 22:27:29 EDT
Size:
836 bytes
patch
obsolete
>public class ApplicationStarter { > > public static void main(String[] args) { > Display display = new Display(); > > Shell shell = new Shell(display); > FillLayout shellLayout = new FillLayout(); > shell.setLayout(shellLayout); > > Composite composite = new Composite(shell, SWT.BORDER); // change to SWT.NONE to correct > composite.setBackground(display.getSystemColor(SWT.COLOR_RED)); > composite.setLayout(new GridLayout()); > > Composite inner = new Composite(composite, SWT.NONE); > inner.setBackground(display.getSystemColor(SWT.COLOR_BLUE)); > > shell.setSize(500, 500); > shell.open(); > > while (!shell.isDisposed()) { > if (!display.readAndDispatch()) { > display.sleep(); > } > } > > display.dispose(); > } > >}
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 Raw
Actions:
View
Attachments on
bug 567855
: 284444 |
284445