diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2024-01-26 21:00:04 +0100 | 
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2024-01-26 21:00:30 +0100 | 
| commit | 9acab00bcc53d3adc52f1681d733e57dcb3c3f0d (patch) | |
| tree | e8b84b1c716c0d28c02b07be4184b02e60d8d185 /fiv.c | |
| parent | ae8dc3070a44c2fad90cba8037e54d1a575240df (diff) | |
| download | fiv-9acab00bcc53d3adc52f1681d733e57dcb3c3f0d.tar.gz fiv-9acab00bcc53d3adc52f1681d733e57dcb3c3f0d.tar.xz fiv-9acab00bcc53d3adc52f1681d733e57dcb3c3f0d.zip  | |
Improve browser view styling
Diffstat (limited to 'fiv.c')
| -rw-r--r-- | fiv.c | 8 | 
1 files changed, 6 insertions, 2 deletions
@@ -1689,6 +1689,9 @@ make_toolbar_radio(const char *label, const char *tooltip)  	GtkWidget *button = gtk_radio_button_new_with_label(NULL, label);  	gtk_widget_set_tooltip_text(button, tooltip);  	gtk_widget_set_focus_on_click(button, FALSE); +	gtk_toggle_button_set_mode(GTK_TOGGLE_BUTTON(button), FALSE); +	gtk_style_context_add_class( +		gtk_widget_get_style_context(button), GTK_STYLE_CLASS_FLAT);  	return button;  } @@ -1750,7 +1753,6 @@ make_browser_toolbar(void)  		gtk_radio_button_join_group(radio, last);  		last = radio;  	} -  	return browser_toolbar;  } @@ -2206,8 +2208,10 @@ static const char stylesheet[] = "@define-color fiv-tile @content_view_bg; \  		mix(@theme_selected_bg_color, @content_view_bg, 0.5); \  	fiv-view, fiv-browser { background: @content_view_bg; } \  	placessidebar.fiv box > separator { margin: 4px 0; } \ -	placessidebar.fiv row { min-height: 1.75em; } \ +	placessidebar.fiv row { min-height: 2em; } \  	.fiv-toolbar button { padding-left: 0; padding-right: 0; } \ +	.fiv-toolbar button.text-button { \ +		padding-left: 4px; padding-right: 4px; } \  	.fiv-toolbar > button:first-child { padding-left: 4px; } \  	.fiv-toolbar > button:last-child { padding-right: 4px; } \  	.fiv-toolbar separator { \  | 
