Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can width limit of 250 pixels in SwitcherTable.getPreferredSize() be made configurable? #7717

Open
pixopia opened this issue Sep 1, 2024 · 2 comments
Labels
Contribution welcome An issue or feature not currently being worked on, but a contribution would be welcomed! kind:feature A feature request UI User Interface

Comments

@pixopia
Copy link

pixopia commented Sep 1, 2024

Description

SwitcherTable limits the columnWidth in SwitcherTable.getPreferredSize() in line 335 to hard-coded 250 pixels.
This sometimes does not fit in custom applications based on NetBeans platform.
Can this behavior be made configurable?
E.g. by

  • delegating it to a UI
  • or having influence via L&F UIDefaults

Use case/motivation

Give application developrs control over SwitcherTable size.

Related issues

No response

Are you willing to submit a pull request?

No

@pixopia pixopia added kind:feature A feature request needs:triage Requires attention from one of the committers labels Sep 1, 2024
@neilcsmith-net neilcsmith-net added Contribution welcome An issue or feature not currently being worked on, but a contribution would be welcomed! and removed needs:triage Requires attention from one of the committers labels Sep 1, 2024
@neilcsmith-net
Copy link
Member

Consider opening a pull request. This is the sort of thing that's unlikely to get added unless someone who needs it proposes the change.

@mbien mbien added the UI User Interface label Sep 2, 2024
@pixopia
Copy link
Author

pixopia commented Sep 24, 2024

Thanks for the quick response.
Sounds like this isn't a feature many people need.
We did not get feedback from our client yet.
But I guess it is less time consuming if we fix it on the application side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contribution welcome An issue or feature not currently being worked on, but a contribution would be welcomed! kind:feature A feature request UI User Interface
Projects
None yet
Development

No branches or pull requests

3 participants