diff options
author | Peter Hofmann <scm@uninformativ.de> | 2015-08-29 12:49:53 +0200 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2015-08-29 12:53:39 +0200 |
commit | 90d488a5f93bb877cf57f24a2d76239f89ef9e17 (patch) | |
tree | ecac1ff5d5efbf8ab36b4080a0c78be07cbd0ad6 /browser.c | |
parent | 30034c3547e0f9ab2d54c6826abad9762caaaf36 (diff) | |
download | lariza-90d488a5f93bb877cf57f24a2d76239f89ef9e17.tar.gz |
GtkBox: Don't manually specify a padding
This might look good on my display, but on a display with a different
DPI value, it's probably garbage. Specifying space in pixels is
meaningless today.
Yes, this applies to the level bar and the window size as well. I have
not yet found a better way to control those, though.
Diffstat (limited to 'browser.c')
-rw-r--r-- | browser.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -213,12 +213,12 @@ client_new(const gchar *uri) gtk_widget_set_size_request(c->progress, 100, -1); c->top_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); - gtk_box_pack_start(GTK_BOX(c->top_box), c->location, TRUE, TRUE, 2); - gtk_box_pack_start(GTK_BOX(c->top_box), c->progress, FALSE, FALSE, 2); + gtk_box_pack_start(GTK_BOX(c->top_box), c->location, TRUE, TRUE, 0); + gtk_box_pack_start(GTK_BOX(c->top_box), c->progress, FALSE, FALSE, 0); c->vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); - gtk_box_pack_start(GTK_BOX(c->vbox), c->top_box, FALSE, FALSE, 2); - gtk_box_pack_start(GTK_BOX(c->vbox), c->scroll, TRUE, TRUE, 2); + gtk_box_pack_start(GTK_BOX(c->vbox), c->top_box, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(c->vbox), c->scroll, TRUE, TRUE, 0); gtk_container_add(GTK_CONTAINER(c->win), c->vbox); |