Pre-layout the browser
Now the widget is scrollable.
This commit is contained in:
3
fastiv.c
3
fastiv.c
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user