|
|
|
@ -9,6 +9,7 @@ import com.fr.design.gui.ibutton.UIColorButton;
|
|
|
|
|
import com.fr.design.gui.ibutton.UIToggleButton; |
|
|
|
|
import com.fr.design.gui.icombobox.UIComboBox; |
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
|
import com.fr.design.gui.iscrollbar.UIScrollBar; |
|
|
|
|
import com.fr.design.gui.ispinner.UISpinner; |
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
@ -83,6 +84,14 @@ public class ImageCustomDefinePane extends MobileStyleCustomDefinePane {
|
|
|
|
|
protected JPanel createContentPane() { |
|
|
|
|
return scrollPanel; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected void setLeftContentPaneBounds(Container parent, UIScrollBar scrollBar, int beginY, int maxheight) { |
|
|
|
|
int width = parent.getWidth(); |
|
|
|
|
int height = parent.getHeight(); |
|
|
|
|
leftcontentPane.setBounds(0, -beginY, width - scrollBar.getWidth() + getOverWidth(), leftcontentPane.getPreferredSize().height); |
|
|
|
|
scrollBar.setBounds(width - scrollBar.getWidth(), 0, scrollBar.getWidth(), height); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
this.add(basicScrollPane); |
|
|
|
|
} |
|
|
|
|