Mercurial > projects > dwt-mac
diff dwt/widgets/CoolBar.d @ 45:d8635bb48c7c
Merge with SWT 3.5
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 01 Dec 2008 17:07:00 +0100 |
parents | 1a8b3cb347e0 |
children | a3f5118c8b37 |
line wrap: on
line diff
--- a/dwt/widgets/CoolBar.d Tue Oct 21 15:20:04 2008 +0200 +++ b/dwt/widgets/CoolBar.d Mon Dec 01 17:07:00 2008 +0100 @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright (c) 2000, 2006 IBM Corporation and others. +/******************************************************************************* + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -43,6 +43,10 @@ * </p><p> * IMPORTANT: This class is <em>not</em> intended to be subclassed. * </p> + * + * @see <a href="http://www.eclipse.org/swt/snippets/#coolbar">CoolBar snippets</a> + * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: ControlExample</a> + * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> */ public class CoolBar : Composite { CoolItem[][] items = new CoolItem[0][0]; @@ -893,7 +897,7 @@ if (height !is size.x) super.setSize(trim.width, size.y); } else { Rectangle trim = computeTrim (0, 0, 0, height); - if (height !is size.y) super.setSize(size.x, trim.height); + if (height !is size.y) super.setSize(size.x, trim.height); } } /**