Repository: vscode
Issue: Italic text is cut off at the end in tabs and settings
Labels: bug,workbench-tabs

Type: <b>Bug</b>

Steps to Reproduce:

1. Open a file in a [preview mode](https://code.visualstudio.com/docs/getstarted/userinterface#_preview-mode) (single-click or select a file in the Explorer).
2. Please note that if the file name is longer than 10 characters, it will be cut off slightly at the end (using the default setting "workbench.editor.tabSizing": "fit".

or

1. Use "workbench.editor.tabSizing": "shrink" or "workbench.editor.tabSizing": "fixed" setting.
2. Please note that the file name will be cut off slightly at the end, despite of the length of the file name.

Here's what it looks like:

|          |          |
| -------- | -------- |
| ![Screenshot from 2024-03-11 17-15-06](https://github.com/microsoft/vscode/assets/11392016/aa60c5cd-8991-42aa-8a73-a0e721e31b59) | ![Screenshot from 2024-03-11 16-53-55](https://github.com/microsoft/vscode/assets/11392016/2bf26e2e-f860-4dd2-979a-9b770c3899a6) |
| ![Screenshot from 2024-03-11 17-10-55](https://github.com/microsoft/vscode/assets/11392016/66374d6f-a0c3-4fba-975d-747d94fef95b) | ![Screenshot from 2024-03-11 16-48-06](https://github.com/microsoft/vscode/assets/11392016/ebdc4589-50e2-4ba9-992f-8fab05a3d172) |
| ![Screenshot from 2024-03-11 16-46-32](https://github.com/microsoft/vscode/assets/11392016/c330df8d-88de-44d6-9601-2836ab2eef92) | ![Screenshot from 2024-03-11 16-36-05](https://github.com/microsoft/vscode/assets/11392016/5daa63b4-5abf-48d0-b597-8df90b56c256) |

VS Code version: Code - Insiders 1.88.0-insider (8c8105002c089e657402b0f7ced80b2ecae6870c, 2024-03-11T11:15:56.364Z)
OS version: Linux x64 6.5.0-25-generic snap
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz (8 x 3093)|
|GPU Status|2d_canvas: unavailable_software<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: disabled_software<br>multiple_raster_threads: enabled_on<br>opengl: disabled_off<br>rasterization: disabled_software<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: disabled_software<br>video_encode: disabled_software<br>vulkan: disabled_off<br>webgl: unavailable_software<br>webgl2: unavailable_software<br>webgpu: disabled_off|
|Load (avg)|1, 1, 1|
|Memory (System)|7.63GB (1.06GB free)|
|Process Argv|--no-sandbox --force-user-env --unity-launch --crash-reporter-id 4391e78a-c457-4918-85ec-40e54855df4a|
|Screen Reader|no|
|VM|0%|
|DESKTOP_SESSION|ubuntu-xorg|
|XDG_CURRENT_DESKTOP|Unity|
|XDG_SESSION_DESKTOP|ubuntu-xorg|
|XDG_SESSION_TYPE|x11|
</details>Extensions: none<details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscod805:30301674
vsaa593:30376534
py29gd2263:30784851
vscaat:30438846
c4g48928:30535728
a9j8j154:30646983
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonidxpt:30768918
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythontestfixt:30866404
pythonregdiag2:30926734
pyreplss1:30879911
pythonmypyd1:30859725
pythoncet0:30859736
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
bf62j303:30968145
cppperfnew:30980852
8082a590:30961435
fegfb526:30952798
bg6jg535:30979844
8f97e687:30976998
ccp2r3:30958153
pythonait:30973460

```

</details>

<!-- generated by issue reporter -->