@Override
		public Dimension preferredLayoutSize(Container parent) {
			Dimension d = getNormalPreferredSize(parent);
			if (scrollOffset == 0) {
				return d;
			}
			return new Dimension(d.width, d.height - scrollOffset);
		}
Sets the amount of the view that is hidden, i.e., "scrolled off".  The animation framework
will cause this method to be called with a sequence of values from 0 to 1 which will be
used to scroll the component off the view.
@param fraction the amount of the component to hide.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/gui/taskview/ScheduledTaskPanel.java