diff options
author | Grant Gayed <ggayed> | 2003-07-16 14:30:01 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2003-07-16 14:30:01 +0000 |
commit | 93a133496c4c6f4903f52273654fc42d66092cb1 (patch) | |
tree | 25b9110cf48218cfb56171c8ee308bf98748d8b9 | |
parent | 1b9e090d3068fe53e0efa1ea38f29c19ce034f10 (diff) | |
download | eclipse.platform.swt-93a133496c4c6f4903f52273654fc42d66092cb1.tar.gz eclipse.platform.swt-93a133496c4c6f4903f52273654fc42d66092cb1.tar.xz eclipse.platform.swt-93a133496c4c6f4903f52273654fc42d66092cb1.zip |
38777
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ColorDialog.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ColorDialog.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ColorDialog.java index c8b259e80c..d87cb5aefb 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ColorDialog.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ColorDialog.java @@ -104,8 +104,8 @@ void createChildren() { GridLayout layout = new GridLayout (2, false); dialog.setLayout(layout); - int colorChooserWidth = colorSwatchExtent * colorGrid.length; - int colorChooserHeight = colorSwatchExtent * colorGrid[0].length; + int colorChooserWidth = colorSwatchExtent * colorGrid.length - 1; + int colorChooserHeight = colorSwatchExtent * colorGrid[0].length - 1; colorsCanvas = new Canvas(dialog, SWT.BORDER); GridData data = new GridData (); data.widthHint = colorChooserWidth; |