Add a margin to the Date label

This commit is contained in:
Robert Fewell 2017-11-09 10:48:59 +00:00
parent 4558521980
commit 54b492ee83

View File

@ -338,6 +338,11 @@ gnc_dense_cal_init(GncDenseCal *dcal)
gtk_widget_set_name (GTK_WIDGET(dcal->transPopup), "dense-cal-popup");
l = gtk_label_new(_("Date: "));
#if GTK_CHECK_VERSION(3,12,0)
gtk_widget_set_margin_start (l, 5);
#else
gtk_widget_set_margin_left (l, 5);
#endif
gtk_container_add(GTK_CONTAINER(hbox), l);
l = gtk_label_new("YY/MM/DD");
g_object_set_data(G_OBJECT(dcal->transPopup), "dateLabel", l);