Changeset 246:a9e2311db70a
- Timestamp:
- May 1, 2011, 5:31:27 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/class/pf/Application.js
r245 r246 129 129 var n_u = parseInt(e.getValue()); 130 130 131 this.gui_n_l.setMaximum(n_u - 1); 132 131 133 this.plasma.n_u = n_u; 132 134 this.updateGUI(); … … 137 139 var e = ev.getTarget(); 138 140 var n_l = parseInt(e.getValue()); 141 142 this.gui_n_u.setMinimum(n_l + 1); 139 143 140 144 this.plasma.n_l = n_l; … … 1061 1065 l.setRich(true); 1062 1066 gl.add(l, {row: 1, column: 0}); 1063 e = new qx.ui.form.Spinner( 2, this.plasma.n_u, 1000);1067 e = new qx.ui.form.Spinner(this.plasma.n_l + 1, this.plasma.n_u, 1000); 1064 1068 gl.add(e, {row: 1, column: 1}); 1065 1069 e.addListener("changeValue", changeN_u, this); … … 1069 1073 l.setRich(true); 1070 1074 gl.add(l, {row: 2, column: 0}); 1071 e = new qx.ui.form.Spinner(1, this.plasma.n_l, 1000);1075 e = new qx.ui.form.Spinner(1, this.plasma.n_l, this.plasma.n_u - 1); 1072 1076 gl.add(e, {row: 2, column: 1}); 1073 1077 e.addListener("changeValue", changeN_l, this);
Note: See TracChangeset
for help on using the changeset viewer.