Commit 73d1745165257b94fcf0881970317c22f3cc9f62
1 parent
01cdc84f
Exists in
master
and in
1 other branch
Updating FT dialog.
Showing
1 changed file
with
7 additions
and
4 deletions
Show diff stats
src/v3270ft/dialog.c
... | ... | @@ -217,6 +217,7 @@ static void V3270FTDialog_init(V3270FTDialog *widget) |
217 | 217 | GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL,6); |
218 | 218 | |
219 | 219 | g_object_set(G_OBJECT(box),"margin-top",6,NULL); |
220 | + g_object_set(G_OBJECT(box),"margin-end",18,NULL); | |
220 | 221 | |
221 | 222 | widget->button.reset = v3270_box_pack_end(box,gtk_button_new_with_mnemonic("_Reset"),FALSE,FALSE,0); |
222 | 223 | g_signal_connect(widget->button.reset,"clicked",G_CALLBACK(reset_clicked),widget); |
... | ... | @@ -279,8 +280,9 @@ static void V3270FTDialog_init(V3270FTDialog *widget) |
279 | 280 | GtkWidget * frame = v3270_dialog_create_frame(scrolled,_("Transfer queue")); |
280 | 281 | gtk_box_pack_start(GTK_BOX(container),frame,TRUE,TRUE,0); |
281 | 282 | |
282 | - g_object_set(G_OBJECT(scrolled),"margin-start",6,NULL); | |
283 | - g_object_set(G_OBJECT(scrolled),"margin-end",6,NULL); | |
283 | + // https://developer.gnome.org/hig/stable/visual-layout.html.en | |
284 | + g_object_set(G_OBJECT(scrolled),"margin-start",18,NULL); | |
285 | + g_object_set(G_OBJECT(scrolled),"margin-end",18,NULL); | |
284 | 286 | |
285 | 287 | gtk_header_bar_pack_start(header,widget->queue.load); |
286 | 288 | gtk_header_bar_pack_start(header,widget->queue.save); |
... | ... | @@ -294,8 +296,9 @@ static void V3270FTDialog_init(V3270FTDialog *widget) |
294 | 296 | GtkWidget * frame = v3270_dialog_create_frame(hBox,_("Transfer queue")); |
295 | 297 | gtk_box_pack_start(GTK_BOX(container),frame,TRUE,TRUE,0); |
296 | 298 | |
297 | - g_object_set(G_OBJECT(hBox),"margin-start",6,NULL); | |
298 | - g_object_set(G_OBJECT(hBox),"margin-end",6,NULL); | |
299 | + // https://developer.gnome.org/hig/stable/visual-layout.html.en | |
300 | + g_object_set(G_OBJECT(hBox),"margin-start",18,NULL); | |
301 | + g_object_set(G_OBJECT(hBox),"margin-end",18,NULL); | |
299 | 302 | |
300 | 303 | GtkBox * box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_VERTICAL,6)); |
301 | 304 | gtk_box_pack_start(GTK_BOX(hBox),GTK_WIDGET(box),FALSE,FALSE,0); | ... | ... |