talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 9674154cb67aa8c9fe672a285730233ab7df68d8
parent 8eaf132bdbd82f8b5c8efc15a5a2660cef9b796a
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date:   Thu, 29 Jul 2021 17:26:33 -0700

Set hexpand on toolbars

Depending on the Windows version and theme, a non-horizontally expanded
toolbar has a sharp visual discontinuity between the toolbar button
backgrounds and the background next to the toolbar.

Enabling horizontal expansion gives a seamless background across the width
of the window.

Diffstat:
Msrc/toolbar.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/toolbar.c b/src/toolbar.c @@ -2262,6 +2262,7 @@ Toolbar *toolbar_create(ToolbarType type, gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_BOTH); gtk_toolbar_set_show_arrow(GTK_TOOLBAR(toolbar), TRUE); + gtk_widget_set_hexpand(toolbar, TRUE); for (cur = toolbar_list; cur != NULL; cur = cur->next) {