FormLayout target feedback is always in the top-left corner
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
The issue is in FormHeaderLayoutEditPolicy.java lines 133-142, where feedback location is hardcoded. Look at AbstractDimensionSelectionEditPolicy.java lines 72-78 for the Swing Mig- and FormLayout approach. The fix involves calculating the feedback figure position relative to the cursor location (x+10, y+10) depending on which ruler is moved. Test by running the SWT FormLayout in 'classic' mode and moving layout lines to see if feedback follows.
由索引模型根据 Issue 内容生成。
描述
The feedback is hard-coded to be in the top-left corner of the viewer, which makes it hard to follow. When the viewer is scrolled, it's also not visible at all...
We should use a similar approach as used in e.g the Swing Mig- and FormLayout, where the location of the figure is at (10, y + 10) or (x + 10, 10), where (x, y) is the cursor location and depending on whether the horizontal or vertical ruler is moved. In short: The figure should be at the line we're currently moving.
Hint: This selection policy is only used when using the "classic" FormLayout mode.
- 主要语言
- Java
- 星标
- 97
- 派生
- 34
- 平均合并
- 23 小时 46 分钟
- 30 天内合并 PR
- 51
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-windowbuilder/windowbuilder 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 86/100
eclipse-windowbuilder/windowbuilder#1602 ·
维护者通常 1 天内回复
-
Suppress NPE in JDT LookupEnvironment可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 3/5 1-2 天 新手友好度 48/100
eclipse-windowbuilder/windowbuilder#1654 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 40/100
eclipse-windowbuilder/windowbuilder#1635 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 70/100
eclipse-windowbuilder/windowbuilder#1627 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 78/100
eclipse-windowbuilder/windowbuilder#1608 ·
维护者通常 1 天内回复
查看 eclipse-windowbuilder/windowbuilder 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 88/100
-
[Bug] The shared instance selector's placeholder and no-match text ignore the display language可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 90/100
apache/rocketmq-dashboard#5561 ·
维护者通常 3 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
bug good first issue help wanted priority medium size S
难度 2/5 1-3 小时 新手友好度 84/100
martin-francois/symphony-trello#776 · 1 条评论 ·
维护者通常 1 天内回复
-
Console.printHex未关闭good first issue kernel
难度 2/5 1-3 小时 新手友好度 88/100
JackFurton/who-would-build-a-kernel-in-java#33 · 2 条评论 ·
维护者通常 1 天内回复