Commit 7720790
committed
Use dialog font in editor drop-down and drop bold-when-hidden marker
The editor chevron drop-down inherited the SWT system font, which on
many platforms looks out of place compared to the rest of the IDE
chrome. Switch the filter text and the table to JFaceResources
getDialogFont() so the list matches the Quick Switch Editor (Ctrl+E)
dialog and other workbench dialogs.
Also remove the rule in BasicStackListLabelProvider that rendered an
entry in bold when its CTabItem was not currently visible in the tab
bar. That marker is not useful to users:
- It is undiscoverable. There is no legend or tooltip explaining
that bold means "tab scrolled off the visible tab bar". Bold
conventionally signals importance, unread, or modified, none of
which apply here.
- It is redundant with why the drop-down is opened. Users open the
chevron precisely because some tabs do not fit. Encoding which
rows overflowed burns the strongest typographic emphasis on
information the user did not ask for.
- It crowds out more meaningful styling. PR #3938 introduces bold
for matched filter substrings, which is a far more useful signal
and conflicted visually with the previous all-bold rows.1 parent 22d9cd1 commit 7720790
2 files changed
Lines changed: 3 additions & 31 deletions
File tree
- bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/internal/workbench/renderers/swt
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
314 | 315 | | |
315 | 316 | | |
316 | 317 | | |
| 318 | + | |
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
320 | | - | |
| 322 | + | |
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
| |||
Lines changed: 0 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
43 | | - | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 48 | | |
74 | 49 | | |
75 | 50 | | |
| |||
97 | 72 | | |
98 | 73 | | |
99 | 74 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | 75 | | |
106 | 76 | | |
107 | 77 | | |
| |||
0 commit comments