Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing SWT Style Bits in CSS Spy #611

Open
JVS94 opened this issue Jun 7, 2023 · 2 comments
Open

Confusing SWT Style Bits in CSS Spy #611

JVS94 opened this issue Jun 7, 2023 · 2 comments
Labels
good first issue Good for newcomers

Comments

@JVS94
Copy link

JVS94 commented Jun 7, 2023

image

The CSS Rules section of CSS Spy shows the current SWT Style Bits for the selected control, but it seems to contain a lot of useless information, such as styles that are not currently supported by the selected control (e.g. SWT.RADIO here), and bits that are not styles (e.g. SWT.ERROR_MENU_NOT_POP_UP here). Why is it designed this way, and what is the use of these ?

@JVS94 JVS94 closed this as completed Jun 7, 2023
@JVS94 JVS94 reopened this Jun 7, 2023
@opcoach
Copy link
Contributor

opcoach commented Sep 25, 2024

The filter should display the correct styles bits as described in this page :
https://wiki.eclipse.org/SWT_Widget_Style_Bits

I think the idea is to remind what could be used on this widget... but ...as we are in a dynamic display, it would be better to display in bold if the style bit is set and in normal fond if not set. Using the Widget.getStyle() method that would be easy to do.

-> Good first issue

@opcoach opcoach added the good first issue Good for newcomers label Sep 25, 2024
@Tilak-21
Copy link

I am working on this!

  • CodeDay Student.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants