diff options
author | Boris Shingarov <bshingar> | 2002-04-02 19:56:23 +0000 |
---|---|---|
committer | Boris Shingarov <bshingar> | 2002-04-02 19:56:23 +0000 |
commit | 5a03039a7fcd403ef5968c52db5238c02853e8f0 (patch) | |
tree | 0c1215a807546d9ab4f8514b42454b4924fd9c2b /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java | |
parent | 7f9c8e5a1331ee8e05aca37e85a27d5f705008d3 (diff) | |
download | eclipse.platform.swt-5a03039a7fcd403ef5968c52db5238c02853e8f0.tar.gz eclipse.platform.swt-5a03039a7fcd403ef5968c52db5238c02853e8f0.tar.xz eclipse.platform.swt-5a03039a7fcd403ef5968c52db5238c02853e8f0.zip |
gtk_clist_set_row_height
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java index 92da2188aa..5754f43b89 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java @@ -185,6 +185,8 @@ void createHandle (int index) { OS.gtk_widget_show (scrolledHandle); OS.gtk_widget_show (handle); + OS.gtk_clist_set_row_height(handle, 0); + int mode = (style & SWT.MULTI) != 0 ? OS.GTK_SELECTION_EXTENDED :OS.GTK_SELECTION_BROWSE; OS.gtk_clist_set_selection_mode (handle, mode); |