aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-05 20:39:05 +0000
committerDavid Robillard <d@drobilla.net>2012-08-05 20:39:05 +0000
commit44ff22a4fae7a53c2f1940c0a8015d74691e5ba8 (patch)
tree57201596c7b4e45454f75c37a0dd88f513d0000d
parentad3cc31f292d1e88b2f0b750de29239109fbb74b (diff)
downloadlv2-44ff22a4fae7a53c2f1940c0a8015d74691e5ba8.tar.xz
Layout UI vertically.
-rw-r--r--plugins/eg-sampler.lv2/sampler_ui.c4
1 files 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);