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 286885 Details for
Bug 575259
[MacOS11] Table with header is incorrectly scrolled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Snippet
Main.java (text/plain), 914 bytes, created by
Thomas Singer
on 2021-08-05 09:46:19 EDT
(
hide
)
Description:
Snippet
Filename:
MIME Type:
Creator:
Thomas Singer
Created:
2021-08-05 09:46:19 EDT
Size:
914 bytes
patch
obsolete
>import org.eclipse.swt.SWT; >import org.eclipse.swt.layout.FillLayout; >import org.eclipse.swt.widgets.*; > >public class Main { > > public static void main(String[] args) { > final Display display = new Display(); > > final Shell shell = new Shell(display); > shell.setLayout(new FillLayout()); > > final Table table = new Table(shell, SWT.H_SCROLL | SWT.V_SCROLL); > table.setHeaderVisible(true); > > final TableColumn column = new TableColumn(table, SWT.LEFT); > column.setText("Column 1"); > column.setWidth(200); > > for (int i = 0; i < 50; i++) { > new TableItem(table, SWT.LEFT).setText(String.valueOf(i)); > } > > shell.setSize(500, 400); > 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 575259
: 286885 |
286886
|
286887
|
287303
|
287812