Mercurial > audlegacy
changeset 878:f804ff3a4899 trunk
[svn] Pending proper layout, make a little less vertical at least.
author | nemo |
---|---|
date | Fri, 24 Mar 2006 19:14:03 -0800 |
parents | 82a978e884af |
children | 3a498ce43362 |
files | Plugins/Input/adplug/adplug-xmms.cc |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/adplug/adplug-xmms.cc Fri Mar 24 17:31:08 2006 -0800 +++ b/Plugins/Input/adplug/adplug-xmms.cc Fri Mar 24 19:14:03 2006 -0800 @@ -434,6 +434,7 @@ GtkVBox *box = GTK_VBOX(gtk_vbox_new(TRUE,2)); GtkHBox *hbox = GTK_HBOX(gtk_hbox_new(TRUE, 2)); + GtkHBox *hbox2 = GTK_HBOX(gtk_hbox_new(TRUE, 2)); // Build file info box gtk_window_set_title(GTK_WINDOW(infobox), "AdPlug :: File Info"); @@ -455,6 +456,7 @@ // Former packer layout, for future reproduction // gtk_packer_add_defaults(packer, make_framed(print_left(filename), "Filename"), // GTK_SIDE_TOP, GTK_ANCHOR_CENTER, GTK_FILL_X); + gtk_box_pack_end(GTK_BOX(box), GTK_WIDGET(hbox2), TRUE, TRUE, 2); gtk_box_pack_end(GTK_BOX(box), make_framed(print_left(filename), "Filename"), TRUE, TRUE, 2); // Add "Song info" section @@ -484,7 +486,7 @@ // Former packer layout, for future reproduction // gtk_packer_add_defaults(packer, GTK_WIDGET(hbox), GTK_SIDE_TOP, // GTK_ANCHOR_CENTER, GTK_FILL_X); - gtk_box_pack_end(GTK_BOX(box), GTK_WIDGET(hbox), TRUE, TRUE, 2); + gtk_box_pack_end(GTK_BOX(hbox2), GTK_WIDGET(hbox), TRUE, TRUE, 2); // Add instrument names section if(p->getinstruments()) { @@ -510,7 +512,7 @@ // Former packer layout, for future reproduction // gtk_packer_add(packer, GTK_WIDGET(instwnd), GTK_SIDE_TOP, // GTK_ANCHOR_CENTER, GTK_FILL_X, 0, 0, 0, 0, 50); - gtk_box_pack_end(GTK_BOX(box), GTK_WIDGET(instwnd), TRUE, TRUE, 2); + gtk_box_pack_end(GTK_BOX(hbox2), GTK_WIDGET(instwnd), TRUE, TRUE, 2); } // Add "Song message" section @@ -529,7 +531,7 @@ // Former packer layout, for future reproduction // gtk_packer_add(packer, make_framed(GTK_WIDGET(msgwnd), "Song message"), // GTK_SIDE_TOP, GTK_ANCHOR_CENTER, GTK_FILL_X, 2, 0, 0, 200, 50); - gtk_box_pack_end(GTK_BOX(box), make_framed(GTK_WIDGET(msgwnd), "Song message"), TRUE, TRUE, 2); + gtk_box_pack_end(GTK_BOX(hbox2), make_framed(GTK_WIDGET(msgwnd), "Song message"), TRUE, TRUE, 2); } // Add subsong slider section @@ -546,7 +548,7 @@ // Former packer layout, for future reproduction // gtk_packer_add_defaults(packer, make_framed(GTK_WIDGET(slider), "Subsong selection"), // GTK_SIDE_TOP, GTK_ANCHOR_CENTER, GTK_FILL_X); - gtk_box_pack_end(GTK_BOX(box), make_framed(GTK_WIDGET(slider), "Subsong selection"), TRUE, TRUE, 2); + gtk_box_pack_end(GTK_BOX(hbox2), make_framed(GTK_WIDGET(slider), "Subsong selection"), TRUE, TRUE, 2); } // Show dialog box