Browse Source

修改方法名称

master
mengao 7 years ago
parent
commit
e2604453af
  1. 4
      designer_base/src/com/fr/design/dialog/BasicScrollPane.java
  2. 2
      designer_chart/src/com/fr/plugin/chart/designer/AbstractVanChartScrollPane.java

4
designer_base/src/com/fr/design/dialog/BasicScrollPane.java

@ -162,13 +162,13 @@ public abstract class BasicScrollPane<T> extends BasicBeanPane<T>{
beginY = value * (preferheight - maxheight) / (MAXVALUE - scrollBar.getVisibleAmount());
}
}
setLeftContentPaneBouns(parent, scrollBar, beginY, maxheight);
setLeftContentPaneBounds(parent, scrollBar, beginY, maxheight);
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 height = parent.getHeight();
if (leftcontentPane.getPreferredSize().height > maxheight) {

2
designer_chart/src/com/fr/plugin/chart/designer/AbstractVanChartScrollPane.java

@ -17,7 +17,7 @@ public abstract class AbstractVanChartScrollPane<T> extends BasicScrollPane<T> {
this.add(leftcontentPane);
}
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 height = parent.getHeight();
if (leftcontentPane.getPreferredSize().height > maxheight) {

Loading…
Cancel
Save