Commit d180d2e08ad962a189310f019b3d34dc1e8c9a46

Authored by Perry Werneck
1 parent 73d17451
Exists in master and in 1 other branch develop

Updating layout.

Showing 2 changed files with 2 additions and 9 deletions   Show diff stats
src/dialogs/tools.c
... ... @@ -53,6 +53,7 @@
53 53 gtk_frame_set_shadow_type(GTK_FRAME(frame),GTK_SHADOW_NONE);
54 54 gtk_label_set_markup(GTK_LABEL(label),markup);
55 55 gtk_frame_set_label_widget(GTK_FRAME(frame),label);
  56 + gtk_container_set_border_width(GTK_CONTAINER(child),12);
56 57  
57 58 gtk_container_add(GTK_CONTAINER(frame),GTK_WIDGET(child));
58 59  
... ...
src/v3270ft/dialog.c
... ... @@ -217,7 +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 + g_object_set(G_OBJECT(box),"margin-end",6,NULL);
221 221  
222 222 widget->button.reset = v3270_box_pack_end(box,gtk_button_new_with_mnemonic("_Reset"),FALSE,FALSE,0);
223 223 g_signal_connect(widget->button.reset,"clicked",G_CALLBACK(reset_clicked),widget);
... ... @@ -280,10 +280,6 @@ static void V3270FTDialog_init(V3270FTDialog *widget)
280 280 GtkWidget * frame = v3270_dialog_create_frame(scrolled,_("Transfer queue"));
281 281 gtk_box_pack_start(GTK_BOX(container),frame,TRUE,TRUE,0);
282 282  
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);
286   -
287 283 gtk_header_bar_pack_start(header,widget->queue.load);
288 284 gtk_header_bar_pack_start(header,widget->queue.save);
289 285 gtk_header_bar_pack_start(header,widget->queue.saveAs);
... ... @@ -296,10 +292,6 @@ static void V3270FTDialog_init(V3270FTDialog *widget)
296 292 GtkWidget * frame = v3270_dialog_create_frame(hBox,_("Transfer queue"));
297 293 gtk_box_pack_start(GTK_BOX(container),frame,TRUE,TRUE,0);
298 294  
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);
302   -
303 295 GtkBox * box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_VERTICAL,6));
304 296 gtk_box_pack_start(GTK_BOX(hBox),GTK_WIDGET(box),FALSE,FALSE,0);
305 297  
... ...