Add some spacing in and around the labels

This commit is contained in:
Pierre Pronchery 2018-02-05 12:52:29 +01:00
parent 7b5e685243
commit ece115e1ed

View File

@ -115,7 +115,9 @@ MixerControl * mixercontrol_new(Mixer * mixer, String const * id,
va_end(ap);
/* widgets */
control->frame = gtk_frame_new(NULL);
gtk_container_set_border_width(GTK_CONTAINER(control->frame), 2);
hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 4);
gtk_container_set_border_width(GTK_CONTAINER(hbox), 4);
control->icon = gtk_image_new_from_icon_name(icon, GTK_ICON_SIZE_MENU);
gtk_box_pack_start(GTK_BOX(hbox), control->icon, FALSE, TRUE, 0);
control->name = gtk_label_new(name);