From: <hu...@us...> - 2006-09-30 02:55:58
|
Revision: 226 http://svn.sourceforge.net/cishell/?rev=226&view=rev Author: huangb Date: 2006-09-29 13:35:29 -0700 (Fri, 29 Sep 2006) Log Message: ----------- fix a bug, instead of giving a fixed height, set canvasData.heightHint = image.getBounds().height; Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/common/AbstractDialog.java Modified: trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/common/AbstractDialog.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/common/AbstractDialog.java 2006-09-29 20:16:35 UTC (rev 225) +++ trunk/clients/gui/org.cishell.reference.gui.workspace/src/org/cishell/reference/gui/common/AbstractDialog.java 2006-09-29 20:35:29 UTC (rev 226) @@ -236,7 +236,7 @@ }); } GridData canvasData = new GridData(); - canvasData.heightHint = 35; + canvasData.heightHint = image.getBounds().height; canvas.setLayoutData(canvasData); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |