简体   繁体   English

Eclipse Mars工具栏条目有几个空白

[英]Eclipse Mars toolbar entries have several gaps

I've updated eclipse from luna to mars and the toolbar entries have large gaps in them. 我已经将月亮从月球更新为火星,并且工具栏条目中存在很大的差距。 Right clicking the toolbar and pressing "Restore Hidden Toolbar Entries" does nothing. 右键单击工具栏并按“还原隐藏工具栏条目”不会执行任何操作。

I am using Windows 10 64bit and Java8u60. 我使用的是Windows 10 64位和Java8u60。 What it looks like: http://i.imgur.com/TkidLja.png 它看起来像: http//i.imgur.com/TkidLja.png

Is there a reason for the spacing or a way to put it back to normal? 是否有理由将间距或方法恢复正常?

What helped me after I tried everything, including a recreation of the workspace, was to open a new Eclipse window (Window > New Window) . 在我尝试了所有内容后,包括重新创建工作区,帮助我的是打开一个新的Eclipse窗口(Window> New Window) There were no gaps in the toolbar and the toolbar was editable again. 工具栏中没有间隙,工具栏再次可编辑。 So I closed the bugged window and restarted Eclipse . 所以我关闭了错误的窗口并重新启动了Eclipse I have not seen this problem since then. 从那以后我没有看到这个问题。

I hope this helps you. 我希望这可以帮助你。

If you hover at the right side of a space, the mouse should change to a 4-way arrow. 如果您将鼠标悬停在空间的右侧,则鼠标应更改为4向箭头。 You can then click and drag to the left to remove the spacing. 然后,您可以单击并向左拖动以删除间距。

This can be quickly and easily solved by doing the following: 通过执行以下操作可以快速轻松地解决此问题:

  1. Navigate to Window -> Preferences -> General -> Appearance 导航到窗口 - > 首选项 - > 常规 - > 外观

  2. Ensure that the following two settings are configured like so: 确保以下两个设置配置如下:

    • Theme : Classic 主题 :经典
    • Color and Font Theme : Default (current) 颜色和字体主题 :默认(当前)

This, together with a restart, properly the sets the toolbar icons and removes the gaps. 这与重启一起正确设置工具栏图标并消除间隙。 It also prevents another annoying glitch, in which the perspective icons to the far right would be randomly and inexplicably bumped down to a second menu line, taking up screen space, when opening a file in the editor. 它还可以防止另一个恼人的故障,在编辑器中打开文件时,最右边的透视图标会随机且无法解释地碰到第二个菜单行,占用屏幕空间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM