eclipse-theia/theia

Font-awesome icons in statusbar with zoomlevel have too big bounding box

Open

#6,028 创建于 2019年8月23日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (2,478 fork)batch import
bughelp wantedshell

仓库指标

Star
 (18,676 star)
PR 合并指标
 (平均合并 15天 4小时) (30 天内合并 75 个 PR)

描述

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: Screenshot from 2019-08-23 15-06-13 It should normally look like this: Screenshot from 2019-08-23 15-13-27

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.

贡献者指南