mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-09 11:33:20 +02:00
Fixes typo in method name setHeightHint
This commit is contained in:
parent
608e02480f
commit
de97370998
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Rational Software - initial implementation
|
||||
* Markus Schorn (Wind River Systems)
|
||||
*******************************************************************************/
|
||||
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.
|
||||
*/
|
||||
public static void setHeigthHint(Control control, int heigthHint) {
|
||||
public static void setHeightHint(Control control, int heigthHint) {
|
||||
Object ld= control.getLayoutData();
|
||||
if (ld instanceof GridData) {
|
||||
((GridData)ld).heightHint= heigthHint;
|
||||
|
|
Loading…
Add table
Reference in a new issue