@Override
		public boolean getScrollableTracksViewportWidth() {

			//
			// This method tells the viewport whether this panel should be expanded to fit the
			// size of the viewport.  We wish to do this when the viewport is larger than us.
			// When it is smaller than us, we want to use our size, which will then trigger 
			// scrollbars.
			//			
			Dimension mySize = getPreferredSize();
			Dimension viewSize = scrollPane.getViewport().getSize();
			boolean viewIsLarger = viewSize.width > mySize.width;
			return viewIsLarger;
		}
Creates a panel for editing options. This version of the constructor will get the
options names from the options object when
{@link #getEditorComponent(Options, EditorStateFactory)} is called.
@param title the title for the panel
Ghidra/Framework/Docking/src/main/java/docking/options/editor/ScrollableOptionsEditor.java