Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想让工具提示在 draw2D 中可滚动,就像在 Eclipse 中调用 Content Assist 窗口时一样。谁能帮我?
先感谢您!
我从未尝试过,但我看不出为什么org.eclipse.draw2d.ScrollPane在你的工具提示中使用 a 不起作用。您可能必须将其ScrollPane放入另一个图形中以限制其大小。否则,我怀疑ScrollPane(以及整个工具提示)只会具有其内容的首选大小-> 没有滚动。
org.eclipse.draw2d.ScrollPane
ScrollPane