[英]How can I force the Eclipse toolbar to be on one row
The toolbar seems to like to take 2 rows instead of one after a restart, even though: 工具栏似乎想在重启后占用2行而不是1行,即使:
Eclipse toolbar http://img73.imageshack.us/img73/4266/eclipsetoolbar.png Eclipse工具栏http://img73.imageshack.us/img73/4266/eclipsetoolbar.png
How can I prevent the toolbar position from being reset after a restart? 如何在重启后阻止工具栏位置重置?
This is Eclipse 3.5.1 on Linux x86 GTK. 这是Linux x86 GTK上的Eclipse 3.5.1。
Update : Please note that Eclipse saves the workspace - my toolbar customisations work - except for the 'please please remain on one row' setting. 更新 :请注意Eclipse保存工作区 - 我的工具栏自定义工作 - 除了“请保持一行”设置。
I don't know how to prevent toolbar elements to change position, but I find a way to reset it. 我不知道如何防止工具栏元素改变位置,但我找到了重置它的方法。 You could reset a workbench with toolbar (I didn't find a way to reset tollbar only). 您可以使用工具栏重置工作台(我没有找到重置收费栏的方法)。 You could do it by removing file: workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi 你可以通过删除file:workspace / .metadata / .plugins / org.eclipse.e4.workbench / workbench.xmi来做到这一点。
If eclipse does not successfully save its perspective, that may be due to: 如果eclipse没有成功保存其视角,那可能是由于:
Regarding the toolbar layout specifically, this problem has been seen before, and before you reported it in bug 292398 , you can actually read: 特别是关于工具栏布局,之前已经看到过这个问题,在您在错误292398中报告它之前,您实际上可以阅读:
... which says it all. ......说明了一切。
When I said "this problem has been seen before", meet bug 69616 , reported 2004-07-08 for eclipse3.0. 当我说“之前已经看到这个问题”时,遇到错误69616 ,报告2004-07-08为eclipse3.0。
Still pending. 仍悬而未决。
I unlock the toolbars and set their positions. 我解锁工具栏并设置他们的位置。 but they are always back all tossed in the left on eclipse start. 但是他们总是在日食开始的时候全部扔在左边。
Yes, the cool item ordering will be remembered, but the absolute positions will not. 是的,将记住很酷的项目订购,但绝对的位置不会。
Try Window->Save Perspective As and save with the same as you use. 尝试使用Window-> Save Perspective As并使用与使用相同的方法保存。 It think, this will be enough. 它认为,这就足够了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.