Skip to content
Snippets Groups Projects
Commit 4db7bc7e authored by pierre-luc's avatar pierre-luc
Browse files

[#1746] Useless space does not appear anymore when volume sliders and

dialpad are disabled.
parent c7ff33ad
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,7 @@ create_dialpad() ...@@ -59,6 +59,7 @@ create_dialpad()
table = gtk_table_new ( 4, 3, TRUE /* homogeneous */); table = gtk_table_new ( 4, 3, TRUE /* homogeneous */);
gtk_table_set_row_spacings( GTK_TABLE(table), 5); gtk_table_set_row_spacings( GTK_TABLE(table), 5);
gtk_table_set_col_spacings( GTK_TABLE(table), 5); gtk_table_set_col_spacings( GTK_TABLE(table), 5);
gtk_container_set_border_width (GTK_CONTAINER(table), 5);
button = get_numpad_button("1", TRUE, ""); button = get_numpad_button("1", TRUE, "");
gtk_table_attach ( GTK_TABLE( table ), button, 0, 1, 0, 1, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); gtk_table_attach ( GTK_TABLE( table ), button, 0, 1, 0, 1, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
......
...@@ -184,7 +184,6 @@ create_main_window () ...@@ -184,7 +184,6 @@ create_main_window ()
vbox = gtk_vbox_new ( FALSE /*homogeneous*/, 0 /*spacing*/); vbox = gtk_vbox_new ( FALSE /*homogeneous*/, 0 /*spacing*/);
subvbox = gtk_vbox_new ( FALSE /*homogeneous*/, 5 /*spacing*/); subvbox = gtk_vbox_new ( FALSE /*homogeneous*/, 5 /*spacing*/);
gtk_container_set_border_width (GTK_CONTAINER(subvbox), 5);
widget = create_menus(); widget = create_menus();
gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE /*expand*/, TRUE /*fill*/, 0 /*padding*/); gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE /*expand*/, TRUE /*fill*/, 0 /*padding*/);
......
...@@ -155,6 +155,7 @@ create_slider(const gchar * device) ...@@ -155,6 +155,7 @@ create_slider(const gchar * device)
} }
ret = gtk_hbox_new ( FALSE /*homogeneous*/, 5 /*spacing*/); ret = gtk_hbox_new ( FALSE /*homogeneous*/, 5 /*spacing*/);
gtk_container_set_border_width (GTK_CONTAINER(ret), 5);
#if GTK_CHECK_VERSION(2,12,0) #if GTK_CHECK_VERSION(2,12,0)
if( strcmp( device , "speaker") == 0 ) if( strcmp( device , "speaker") == 0 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment