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.
This commit is contained in:
parent
8eaf132bdb
commit
9674154cb6
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue