Eclipse Scout Neon: Menu and Tooltip on a field

让人想犯罪 __ 提交于 2019-12-13 06:45:24

问题


This is a screenshot if you put a Menu on a StringField:

This is a screenshot if you put a Tooltip on a StringField:

This is a screenshot if you put a Menu and a Tooltip on a StringField:

  • the (i) icon from the tooltip is the button to open the menu list.
  • the tooltip text is not visible.

Did I miss something?

Is this a known issue?


回答1:


Yes, this is a known issue. If a tooltip and a menu are provided, a combined popup should be shown including the tooltip text and the menu items. But this has not been implemented yet. Feel free to open a bug.

However, if you only have one action you could set the property hasAction to true instead of using a menu. This will bring up a clickable arrow inside the field, actually intended to follow a link or open the email client. But you could also use it for any other action as well, just implement execAction. Please note that this feature is only available for string fields so far.

StringField with hasAction=true:



来源:https://stackoverflow.com/questions/35571754/eclipse-scout-neon-menu-and-tooltip-on-a-field

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!