Commit ecc64bd
committed
Put close icons at the start of the tab label by default on macOS
Add a new window.tabCloseIconPlacement preference for whether to present
the Close (X) icon in tab titles on the left or the right of the tab.
Default to the left on macOS platform in conformity with the OS's native
tab controls.
Show the new preference in the Settings UI on macOS platform only.
Render the tab title with the icon on the left or right accordingly.
Fixes eclipse-theia/theia-ide#460
Signed-off-by: Christian W. Damus <[email protected]>1 parent 3a714cb commit ecc64bd
File tree
3 files changed
+268
-123
lines changed- packages/core/src/browser
- shell
- style
3 files changed
+268
-123
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
124 | 136 | | |
125 | 137 | | |
126 | 138 | | |
| |||
305 | 317 | | |
306 | 318 | | |
307 | 319 | | |
| 320 | + | |
308 | 321 | | |
309 | 322 | | |
310 | 323 | | |
| |||
0 commit comments