diff options
author | Peter Hofmann <scm@uninformativ.de> | 2020-04-27 18:09:57 +0200 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2020-04-27 18:09:57 +0200 |
commit | 644a26a9a24fd319a7c7f5dbd8c07550d90bf64d (patch) | |
tree | 94804802906086cc5ea41e3adeb9e28314406347 | |
parent | 813150ab894f92565735ad5b140a41a512fc6264 (diff) | |
download | lariza-644a26a9a24fd319a7c7f5dbd8c07550d90bf64d.tar.gz |
More space around favicon
-rw-r--r-- | browser.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -245,7 +245,10 @@ client_new(const gchar *uri, WebKitWebView *related_wv, gboolean show) gtk_label_set_ellipsize(GTK_LABEL(c->tablabel), PANGO_ELLIPSIZE_END); gtk_label_set_width_chars(GTK_LABEL(c->tablabel), tab_width_chars); - tabbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); + /* XXX I don't own a HiDPI screen, so I don't know if scale_factor + * does the right thing. */ + tabbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, + 5 * gtk_widget_get_scale_factor(mw.win)); gtk_box_pack_start(GTK_BOX(tabbox), c->tabicon, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(tabbox), c->tablabel, TRUE, TRUE, 0); |