apache / apache/netbeans

Remove multiple columns at once in GridBagLayout-Editor

Open
#9,367 0 comments 0 reactions 0 assignees View on GitHub
FormDesigner kind:feature needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Hello,

sometimes it can happen that there are to many columns in the GridBagLayout.
This might be due to a component that was spread over multiple columns on purpose or by accident and is now removed or if a component from one layout is copied to another.
Now I would have to delete each column on its own. It would be a big help if this could be done by selecting multiple columns with the selection rectangle or with
Ctrl + Mouse click and then delete them all at once.

Image

Maybe It could also be implemented by adding another row in the properties of the layout that represents the amount of rows and columns and can be edited by text.

Image

### Use case/motivation

_No response_

### Related issues

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start by locating the GridBagLayout-Editor entry point and the existing single-column deletion behavior. Compare the selection-rectangle/Ctrl-click request with the alternative row-and-column properties proposal; done means one chosen interaction reliably removes multiple columns without leaving the layout inconsistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
design, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.