From 44ff22a4fae7a53c2f1940c0a8015d74691e5ba8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 Aug 2012 20:39:05 +0000 Subject: Layout UI vertically. --- plugins/eg-sampler.lv2/sampler_ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/eg-sampler.lv2/sampler_ui.c b/plugins/eg-sampler.lv2/sampler_ui.c index 06f5a82..16d8d50 100644 --- a/plugins/eg-sampler.lv2/sampler_ui.c +++ b/plugins/eg-sampler.lv2/sampler_ui.c @@ -124,11 +124,11 @@ instantiate(const LV2UI_Descriptor* descriptor, lv2_atom_forge_init(&ui->forge, ui->map); - ui->box = gtk_hbox_new(FALSE, 4); + ui->box = gtk_vbox_new(FALSE, 4); ui->label = gtk_label_new("?"); ui->button = gtk_button_new_with_label("Load Sample"); gtk_box_pack_start(GTK_BOX(ui->box), ui->label, TRUE, TRUE, 4); - gtk_box_pack_start(GTK_BOX(ui->box), ui->button, FALSE, TRUE, 4); + gtk_box_pack_start(GTK_BOX(ui->box), ui->button, FALSE, FALSE, 4); g_signal_connect(ui->button, "clicked", G_CALLBACK(on_load_clicked), ui); -- cgit v1.2.1