comparison dwt/custom/ViewFormLayout.d @ 246:fd9c62a2998e

Updater SWT 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Tue, 01 Jul 2008 10:15:59 +0200
parents a5afe31f5cdd
children 349b8c12e243
comparison
equal deleted inserted replaced
245:d8c3d4a4f2b0 246:fd9c62a2998e
195 if (top)y += topHeight + form.verticalSpacing; 195 if (top)y += topHeight + form.verticalSpacing;
196 } 196 }
197 int oldSeperator = form.separator; 197 int oldSeperator = form.separator;
198 form.separator = -1; 198 form.separator = -1;
199 if (content !is null && !content.isDisposed()) { 199 if (content !is null && !content.isDisposed()) {
200 if (left !is null || right!is null || center !is null){ 200 if (left !is null || right !is null || center !is null){
201 form.separator = y; 201 form.separator = y;
202 y++; 202 y++;
203 } 203 }
204 content.setBounds(rect.x + form.marginWidth + form.highlight, y, rect.width - 2 * form.marginWidth - 2*form.highlight, rect.y + rect.height - y - form.marginHeight - form.highlight); 204 content.setBounds(rect.x + form.marginWidth + form.highlight, y, rect.width - 2 * form.marginWidth - 2*form.highlight, rect.y + rect.height - y - form.marginHeight - form.highlight);
205 } 205 }