netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

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

Open pixopia opened this issue 1 year ago • 2 comments

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 avatar Sep 01 '24 13:09 pixopia

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.

neilcsmith-net avatar Sep 01 '24 15:09 neilcsmith-net

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.

pixopia avatar Sep 24 '24 18:09 pixopia