Kaydet (Commit) a830f332 authored tarafından Nick Treleaven's avatar Nick Treleaven

Use hbox packing in Find and Find in files dialogs

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@704 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 1520c6bf
......@@ -209,9 +209,9 @@ void search_show_find_dialog()
G_CALLBACK(gtk_widget_hide), NULL);
sbox = gtk_hbox_new(FALSE, 6);
gtk_container_add(GTK_CONTAINER(sbox), label);
gtk_container_add(GTK_CONTAINER(sbox), entry);
align = gtk_alignment_new(0, 1, 0, 0);
gtk_box_pack_start(GTK_BOX(sbox), label, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(sbox), entry, TRUE, TRUE, 0);
align = gtk_alignment_new(0, 0, 1, 0);
gtk_alignment_set_padding(GTK_ALIGNMENT(align), 6, 0, 0, 0);
gtk_container_add(GTK_CONTAINER(align), sbox);
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(widgets.find_dialog)->vbox), align);
......@@ -435,9 +435,9 @@ void search_show_find_in_files_dialog()
G_CALLBACK(gtk_widget_hide), NULL);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(widgets.find_in_files_dialog)->vbox),
dbox, TRUE, TRUE, 6);
dbox, TRUE, FALSE, 6);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(widgets.find_in_files_dialog)->vbox),
sbox, TRUE, TRUE, 0);
sbox, TRUE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(widgets.find_in_files_dialog)->vbox),
cbox, TRUE, TRUE, 6);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment