gtk: hide horizontal scrollbar in hotkey gui
This commit is contained in:
parent
11d7905868
commit
6188e68811
|
@ -519,6 +519,8 @@ void openHotkeyConfig()
|
|||
column = gtk_tree_view_column_new_with_attributes("Key", renderer, "text", KEY_COLUMN, NULL);
|
||||
gtk_tree_view_append_column(GTK_TREE_VIEW(tree), column);
|
||||
scroll = gtk_scrolled_window_new(NULL, NULL);
|
||||
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_NEVER,
|
||||
GTK_POLICY_AUTOMATIC);
|
||||
gtk_container_add(GTK_CONTAINER(scroll), tree);
|
||||
gtk_box_pack_start(GTK_BOX(vbox), scroll, TRUE, TRUE, 5);
|
||||
gtk_widget_show_all(win);
|
||||
|
|
Loading…
Reference in New Issue