Sliders VERTICAUX (ligne 126 de src/ui/window.c) - c'est un micro-commit - ( ;-)

This commit is contained in:
Jean Sirmai 2023-10-02 17:05:42 +02:00
parent 4caa6dfb5b
commit 56e83bf658
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ static inline GtkWidget *create_axis_slider(int axis)
g_signal_connect(adj, "value-changed", g_signal_connect(adj, "value-changed",
G_CALLBACK(on_axis_value_change), G_CALLBACK(on_axis_value_change),
GINT_TO_POINTER(axis)); GINT_TO_POINTER(axis));
slider = gtk_scale_new(GTK_ORIENTATION_HORIZONTAL, adj); slider = gtk_scale_new(GTK_ORIENTATION_VERTICAL, adj);
gtk_box_append(GTK_BOX(box), slider); gtk_box_append(GTK_BOX(box), slider);
gtk_widget_set_hexpand(slider, TRUE); gtk_widget_set_hexpand(slider, TRUE);
gtk_widget_show(slider); gtk_widget_show(slider);