1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-09 19:43:27 +02:00

Fixes typo in method name setHeightHint

This commit is contained in:
Markus Schorn 2006-06-30 09:22:59 +00:00
parent 608e02480f
commit de97370998

View file

@ -7,6 +7,7 @@
* *
* Contributors: * Contributors:
* Rational Software - initial implementation * Rational Software - initial implementation
* Markus Schorn (Wind River Systems)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.internal.ui.wizards.dialogfields; package org.eclipse.cdt.internal.ui.wizards.dialogfields;
@ -110,7 +111,7 @@ public class LayoutUtil {
/** /**
* Sets the heigthHint hint of a control. Assumes that GridData is used. * Sets the heigthHint hint of a control. Assumes that GridData is used.
*/ */
public static void setHeigthHint(Control control, int heigthHint) { public static void setHeightHint(Control control, int heigthHint) {
Object ld= control.getLayoutData(); Object ld= control.getLayoutData();
if (ld instanceof GridData) { if (ld instanceof GridData) {
((GridData)ld).heightHint= heigthHint; ((GridData)ld).heightHint= heigthHint;