From 099c9236797a0b66282d46175175ff9c25de366a Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Tue, 14 Sep 2021 12:22:45 +0500 Subject: [PATCH 1/2] searchbar: Vertically center the close button --- gtk/gtksearchbar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtksearchbar.c b/gtk/gtksearchbar.c index 0d6f036148..4394621d80 100644 --- a/gtk/gtksearchbar.c +++ b/gtk/gtksearchbar.c @@ -366,6 +366,7 @@ gtk_search_bar_init (GtkSearchBar *bar) gtk_widget_set_hexpand (bar->box_center, TRUE); bar->close_button = gtk_button_new_from_icon_name ("window-close-symbolic"); + gtk_widget_set_valign (bar->close_button, GTK_ALIGN_CENTER); gtk_widget_add_css_class (bar->close_button, "close"); gtk_center_box_set_end_widget (GTK_CENTER_BOX (bar->box_center), bar->close_button); gtk_widget_hide (bar->close_button); From 8f9a5175f0d79bfbfc2d5e4f1bd631be1b05aae5 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Tue, 14 Sep 2021 12:23:03 +0500 Subject: [PATCH 2/2] media-controls: Make play button flat Match the volume button. --- gtk/ui/gtkmediacontrols.ui | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/ui/gtkmediacontrols.ui b/gtk/ui/gtkmediacontrols.ui index 412ecfa51c..eaca2ae17c 100644 --- a/gtk/ui/gtkmediacontrols.ui +++ b/gtk/ui/gtkmediacontrols.ui @@ -23,6 +23,7 @@ 1 center center + 0 media-playback-start-symbolic