src/main/java/xelfi/design/components/xawt/XTrackBar.java
changeset 6 947ce1156833
parent 0 189280700bc7
     1.1 --- a/src/main/java/xelfi/design/components/xawt/XTrackBar.java	Tue Jan 17 19:59:12 2017 +0100
     1.2 +++ b/src/main/java/xelfi/design/components/xawt/XTrackBar.java	Tue Jan 17 21:08:47 2017 +0100
     1.3 @@ -289,7 +289,7 @@
     1.4  			case 4:	if (!(value instanceof Boolean)) throw new XFPropertyBadValueTypeException();
     1.5  					setAutoSize(((Boolean)value).booleanValue());
     1.6  					if (autoSize) {
     1.7 -						setSize(0,0);
     1.8 +						setDesignSize(0,0);
     1.9  						ret = ret | XFDesignConstants.RSP_OTHER_PROP;
    1.10  						tbar.repaint();
    1.11  					}
    1.12 @@ -309,7 +309,7 @@
    1.13  					tbar.setMinimum(((Integer)value).intValue());
    1.14  					ret = ret | XFDesignConstants.RSP_OTHER_PROP;
    1.15  					if (autoSize) {
    1.16 -						setSize(0,0);
    1.17 +						setDesignSize(0,0);
    1.18  						ret = ret | XFDesignConstants.RSP_OTHER_PROP;
    1.19  						tbar.repaint();
    1.20  					}
    1.21 @@ -318,7 +318,7 @@
    1.22  					tbar.setMaximum(((Integer)value).intValue());
    1.23  					ret = ret | XFDesignConstants.RSP_OTHER_PROP;
    1.24  					if (autoSize) {
    1.25 -						setSize(0,0);
    1.26 +						setDesignSize(0,0);
    1.27  						ret = ret | XFDesignConstants.RSP_OTHER_PROP;
    1.28  						tbar.repaint();
    1.29  					}
    1.30 @@ -334,7 +334,7 @@
    1.31  			case 11:if (!(value instanceof Integer)) throw new XFPropertyBadValueTypeException();
    1.32  					tbar.setLathWidth(((Integer)value).intValue());
    1.33  					if (autoSize) {
    1.34 -						setSize(0,0);
    1.35 +						setDesignSize(0,0);
    1.36  						ret = ret | XFDesignConstants.RSP_OTHER_PROP;
    1.37  						tbar.repaint();
    1.38  					}
    1.39 @@ -350,7 +350,7 @@
    1.40  			case 14:if (!(value instanceof Boolean)) throw new XFPropertyBadValueTypeException();
    1.41  					tbar.setOrientation(((Boolean)value).booleanValue());
    1.42  					if (autoSize) {
    1.43 -						setSize(0,0);
    1.44 +						setDesignSize(0,0);
    1.45  						ret = ret | XFDesignConstants.RSP_OTHER_PROP;
    1.46  						tbar.repaint();
    1.47  					}
    1.48 @@ -358,7 +358,7 @@
    1.49  			case 15:if (!(value instanceof Integer)) throw new XFPropertyBadValueTypeException();
    1.50  					tbar.setTickMarks(((Integer)value).intValue());
    1.51  					if (autoSize) {
    1.52 -						setSize(0,0);
    1.53 +						setDesignSize(0,0);
    1.54  						ret = ret | XFDesignConstants.RSP_OTHER_PROP;
    1.55  						tbar.repaint();
    1.56  					}
    1.57 @@ -366,7 +366,7 @@
    1.58  			case 16:if (!(value instanceof Integer)) throw new XFPropertyBadValueTypeException();
    1.59  					tbar.setTickLenght(((Integer)value).intValue());
    1.60  					if (autoSize) {
    1.61 -						setSize(0,0);
    1.62 +						setDesignSize(0,0);
    1.63  						ret = ret | XFDesignConstants.RSP_OTHER_PROP;
    1.64  						tbar.repaint();
    1.65  					}
    1.66 @@ -375,7 +375,7 @@
    1.67  					tbar.setFrequency(((Integer)value).intValue());
    1.68  					ret = ret | XFDesignConstants.RSP_REPAINT_COMP;
    1.69  					if (autoSize) {
    1.70 -						setSize(0,0);
    1.71 +						setDesignSize(0,0);
    1.72  						ret = ret | XFDesignConstants.RSP_OTHER_PROP;
    1.73  						tbar.repaint();
    1.74  					}