|
|
@ -162,13 +162,13 @@ public abstract class BasicScrollPane<T> extends BasicBeanPane<T>{ |
|
|
|
beginY = value * (preferheight - maxheight) / (MAXVALUE - scrollBar.getVisibleAmount()); |
|
|
|
beginY = value * (preferheight - maxheight) / (MAXVALUE - scrollBar.getVisibleAmount()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
setLeftContentPaneBouns(parent, scrollBar, beginY, maxheight); |
|
|
|
setLeftContentPaneBounds(parent, scrollBar, beginY, maxheight); |
|
|
|
leftcontentPane.validate(); |
|
|
|
leftcontentPane.validate(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected void setLeftContentPaneBouns (Container parent, UIScrollBar scrollBar, int beginY, int maxheight) { |
|
|
|
protected void setLeftContentPaneBounds(Container parent, UIScrollBar scrollBar, int beginY, int maxheight) { |
|
|
|
int width = parent.getWidth(); |
|
|
|
int width = parent.getWidth(); |
|
|
|
int height = parent.getHeight(); |
|
|
|
int height = parent.getHeight(); |
|
|
|
if (leftcontentPane.getPreferredSize().height > maxheight) { |
|
|
|
if (leftcontentPane.getPreferredSize().height > maxheight) { |
|
|
|