Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

FormLayout target feedback is always in the top-left corner

Abierto
#1,632 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
65/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
java
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

good first issue
Image

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...

https://github.com/eclipse-windowbuilder/windowbuilder/blob/52f91b610499e2182fe5ad09908a6e0efe33dd39/org.eclipse.wb.swt/src/org/eclipse/wb/internal/swt/gef/policy/layout/form/FormHeaderLayoutEditPolicy.java#L133-L142

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.

https://github.com/eclipse-windowbuilder/windowbuilder/blob/52f91b610499e2182fe5ad09908a6e0efe33dd39/org.eclipse.wb.swing/src/org/eclipse/wb/internal/swing/gef/policy/layout/header/selection/AbstractDimensionSelectionEditPolicy.java#L72-L78

Hint: This selection policy is only used when using the "classic" FormLayout mode.

Lenguaje dominante
Java
Estrellas
97
Forks
34
Merge medio
23 h 46 min
PR fusionados (30 d)
51

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eclipse-windowbuilder/windowbuilder

Todos los issues de eclipse-windowbuilder/windowbuilder

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.