Skip to content

Commit 668a900

Browse files
committed
New & Noteworthy entry for CSS Spy Widget Hierarchy Export
1 parent e102898 commit 668a900

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

news/4.40/pde.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,43 @@ A special thanks to everyone who [contributed to PDE](acknowledgements.md#plug-i
1414
---
1515
## PDE Compiler
1616
-->
17+
18+
## Views and Dialogs
19+
20+
### CSS Spy Widget Hierarchy Export
21+
<!-- https://github.com/eclipse-pde/eclipse.pde/pull/2237 -->
22+
<details>
23+
<summary>Contributors</summary>
24+
25+
- [Lars Vogel](https://github.com/vogella)
26+
</details>
27+
28+
You can now use the `Copy widget info to clipboard` button in the `CSS Spy`
29+
to export the selected widget's hierarchy with detailed CSS-relevant information.
30+
The exported information includes the CSS selector notation,
31+
filtered SWT style bits,
32+
computed versus declared values,
33+
and the inheritance chain.
34+
35+
An example of the exported information:
36+
37+
```text
38+
Widget Hierarchy
39+
================
40+
41+
Tree#VariablesViewer
42+
SWT Style: SWT.MULTI SWT.H_SCROLL SWT.V_SCROLL SWT.FULL_SELECTION SWT.LEFT_TO_RIGHT SWT.VIRTUAL
43+
CSS Properties:
44+
background-color: #2f2f2f /* declared: rgb(47, 47, 47) */
45+
background-image: none
46+
color: #aaaaaa /* declared: rgb(170, 170, 170) */
47+
font-family: "Ubuntu Sans" /* declared: #org-eclipse-debug-ui-VariableTextFont */
48+
font-size: 11
49+
font-style: normal
50+
font-weight: normal
51+
swt-lines-visible: true
52+
text-transform: none
53+
visibility: visible
54+
SWT background: rgb(47,47,47)
55+
Bounds: x=1124 y=196 w=385 h=413
56+
```

0 commit comments

Comments
 (0)