diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-04 19:35:08 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-06 23:56:44 +0100 |
commit | d2ef5c9c9549d633259d800159ee780d2f8245b7 (patch) | |
tree | 0387d01d4d32e24c401ee498c05356fa91efa759 /fastiv.c | |
parent | a346ff8d0290f78fe3dab4ea52bfa3ca312819fc (diff) | |
download | fiv-d2ef5c9c9549d633259d800159ee780d2f8245b7.tar.gz fiv-d2ef5c9c9549d633259d800159ee780d2f8245b7.tar.xz fiv-d2ef5c9c9549d633259d800159ee780d2f8245b7.zip |
Pre-layout the browser
Now the widget is scrollable.
Diffstat (limited to 'fastiv.c')
-rw-r--r-- | fastiv.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -304,7 +304,8 @@ main(int argc, char *argv[]) gtk_window_set_default_icon_name(PROJECT_NAME); - const char *style = "fastiv-view, fastiv-browser { background: black; }"; + const char *style = "fastiv-view, fastiv-browser { background: black; }" + "fastiv-browser { padding: 5px; }"; GtkCssProvider *provider = gtk_css_provider_new(); gtk_css_provider_load_from_data(provider, style, strlen(style), NULL); gtk_style_context_add_provider_for_screen(gdk_screen_get_default(), |