Mercurial > projects > dwt-mac
comparison dwt/widgets/Scrollable.d @ 131:03fac5984741
Scrollbars fixed
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 16 Mar 2009 22:38:50 +0100 |
parents | 63a09873578e |
children |
comparison
equal
deleted
inserted
replaced
130:3d4579727e0e | 131:03fac5984741 |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2008 IBM Corporation and others. | 2 * Copyright (c) 2000, 2008 IBM Corporation and others. |
3 * All rights reserved. This program and the accompanying materials | 3 * All rights reserved. This program and the accompanying materials |
4 * are made available under the terms of the Eclipse Public License v1.0 | 4 * are made available under the terms of the Eclipse Public License v1.0 |
5 * which accompanies this distribution, and is available at | 5 * which accompanies this distribution, and is available at |
6 * http://www.eclipse.org/legal/epl-v10.html | 6 * http://www.eclipse.org/legal/epl-v10.html |
165 } else { | 165 } else { |
166 scrollView.setVerticalScroller(scroller); | 166 scrollView.setVerticalScroller(scroller); |
167 actionSelector = OS.sel_sendVerticalSelection; | 167 actionSelector = OS.sel_sendVerticalSelection; |
168 } | 168 } |
169 bar.view = scroller; | 169 bar.view = scroller; |
170 //bar.createJNIRef(); | 170 bar.createJNIRef(); |
171 bar.register(); | 171 bar.register(); |
172 if ((state & CANVAS) is 0) { | 172 if ((state & CANVAS) is 0) { |
173 bar.target = scroller.target(); | 173 bar.target = scroller.target(); |
174 bar.actionSelector = scroller.action(); | 174 bar.actionSelector = scroller.action(); |
175 } | 175 } |