eclipse-theia/theia
Vedi su GitHubFont-awesome icons in statusbar with zoomlevel have too big bounding box
Open
#6028 aperta il 23 ago 2019
bughelp wantedshell
Metriche repository
- Star
- (18.676 star)
- Metriche merge PR
- (Merge medio 15g 4h) (75 PR mergiate in 30 g)
Descrizione
Description
If one adds an entry with text only an icon to the status bar with a zoomlevel that is not 100% the bounding box is way too big:
It should normally look like this:

Reproduction Steps
Add an entry to the status bar:
this.statusbar.setElement('compile-status', {
alignment: StatusBarAlignment.LEFT,
priority: 5,
text: `$(check)`,
tooltip: 'Compilation finished',
onclick: () => this.front.shell.revealWidget(compilerWidgetId)
})
OS and Theia version: ubuntu 18.04 LTS, Theia 0.9.0-next.7fe439a3
Diagnostics: Changing the zoomlevel to 100% after adding it to the statusbar does not fix the problem, but zooming out after it was added does cause it.