How to force the Eclipse toolbar to be on the same line?

The toolbar seems to occupy 2 lines instead of one after a restart, though:

  • enough horizontal space;
  • I manually arrange them on one line;
  • toolbars are locked.

Eclipse Toolbar http://img73.imageshack.us/img73/4266/eclipsetoolbar.png

How can I prevent the toolbar position from being reset after a reboot?


This is Eclipse 3.5.1 on Linux x86 GTK.

Update: note that Eclipse saves the workspace β€” my toolbar settings work β€” except for the β€œplease, please stay on one line” setting.

+4
source share
3 answers

If eclipse does not successfully retain its perspective, this may be due to:

  • correct problem (read-only files in the workspace? Invalid user to start the eclipse process)
  • starting problem (option - clear within eclipse.ini, consider replacing it with this eclipse.ini )

As for the toolbar layout, this problem has been noticed before, and before you reported it in error 292398 , you can really read:

  • error 52229 : the toolbar layout is not saved in all sessions, possibly related to:
  • error 62411 : ApplicationWindow CoolBar does not redraw the contents of the window in CoolItem mode, which leads to:
  • error 203370 : mentions "There are other outstanding errors in the ToolBar."

... which says it all.

When I said that "this problem has been noticed before," you encounter bug 69616 , which was reported in 2004-07-08 for eclipse3.0.
Still awaiting.

I will unlock the toolbars and set their positions. but they always back everything rushes to the left at the beginning of the eclipse.

Yes, the orderly ordering of objects is remembered, but there will be no absolute positions.

+2
source

I don’t know how to prevent toolbar elements from changing position, but I find a way to reset it. You could reset to work with the toolbar (I did not find a way only for reset tollbar). You can do this by deleting the file: workspace / .metadata / .plugins / org.eclipse.e4.workbench / workbench.xmi

+2
source

Try window-> Save As perspective and save using what you use. I think that will be enough.

0
source

All Articles