Re: Adjusting column widths of PropertySheetView
Tim Boudreau <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CA+qecRN=qHMuLi9U4xRHwXK0eD1StK7WVZn5D=T3nN+nzou5hA@mail.gmail.com> |
Fish around in the component hierarchy for a JTable is the best I can suggest - there's no supported way to do that. -Tim On Thu, Jan 14, 2016 at 8:59 AM, <[email protected]> wrote: > I was looking for a way to adjust the PropertySheetView so that instead > of the default width of the two columns (name/value) being the same > size, I'd like to have the first Name column to be smaller than the > second. One of the properties I have shows the file path of a > FileObject, which is quite long. Since I have the UI space, I'd like > the Value column to be longer. > > I searched for an easy way to access the enclosed SheetTable so that I > could grab the columnModel and suggest a maximum size for the first > column. I wasn't able to do this even after creating a new class > extending this one. Does anyone have any other suggestions on how to do > this? > -- http://timboudreau.com