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 271703 Details for
Bug 527937
[HiDPI][Win32] Themed Checkbox/Radiobutton: focus-rect cut off from bottom
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.
Test snippet
CheckboxRadiobuttonTest.java (text/plain), 1.30 KB, created by
Thomas Singer
on 2017-11-30 04:34:12 EST
(
hide
)
Description:
Test snippet
Filename:
MIME Type:
Creator:
Thomas Singer
Created:
2017-11-30 04:34:12 EST
Size:
1.30 KB
patch
obsolete
>import org.eclipse.swt.*; >import org.eclipse.swt.graphics.*; >import org.eclipse.swt.layout.*; >import org.eclipse.swt.widgets.*; > >/** > * @author Thomas Singer > */ >public class CheckboxRadiobuttonTest { > > public static void main(String[] args) { > final Display display = new Display(); > final Shell shell = new Shell(display); > shell.setLayout(new RowLayout(SWT.VERTICAL)); > > final Color background = new Color(display, 255, 192, 192); > final Color foreground = display.getSystemColor(SWT.COLOR_BLACK); > > final Button checkbox = new Button(shell, SWT.CHECK); > checkbox.setBackground(background); > checkbox.setForeground(foreground); > checkbox.setText("&Add untracked files"); > > final Button radiobutton1 = new Button(shell, SWT.RADIO); > radiobutton1.setBackground(background); > radiobutton1.setForeground(foreground); > radiobutton1.setText("&Radiobutton 1"); > > final Button radiobutton2 = new Button(shell, SWT.RADIO); > radiobutton2.setBackground(background); > radiobutton2.setForeground(foreground); > radiobutton2.setText("&Radiobutton 2"); > > shell.setSize(shell.computeSize(SWT.DEFAULT, SWT.DEFAULT)); > shell.open(); > > while (!shell.isDisposed()) { > if (!display.readAndDispatch()) { > display.sleep(); > } > } > > background.dispose(); > shell.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 527937
: 271703 |
271704
|
271705
|
272583