[gnome-text-editor/wip/snwh/zoom-button-fixes] window: fix icon display issue & flat buttons
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor/wip/snwh/zoom-button-fixes] window: fix icon display issue & flat buttons
- Date: Wed, 6 Apr 2022 12:45:59 +0000 (UTC)
commit 5c07cb53f4bfd4de6847166e98406c0b6651477c
Author: Sam Hewitt <sam snwh org>
Date: Wed Apr 6 10:15:37 2022 -0230
window: fix icon display issue & flat buttons
src/editor-window.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/editor-window.c b/src/editor-window.c
index 29ea457..3e8f5cb 100644
--- a/src/editor-window.c
+++ b/src/editor-window.c
@@ -498,18 +498,20 @@ editor_window_constructed (GObject *object)
"action-name", "page.zoom-in",
"child", g_object_new (GTK_TYPE_IMAGE,
"icon-name", "zoom-in-symbolic",
- "pixel-size", 14,
+ "pixel-size", 16,
NULL),
NULL);
gtk_widget_add_css_class (zoom_in, "circular");
+ gtk_widget_add_css_class (zoom_in, "flat");
zoom_out = g_object_new (GTK_TYPE_BUTTON,
"action-name", "page.zoom-out",
"child", g_object_new (GTK_TYPE_IMAGE,
"icon-name", "zoom-out-symbolic",
- "pixel-size", 14,
+ "pixel-size", 16,
NULL),
NULL);
gtk_widget_add_css_class (zoom_out, "circular");
+ gtk_widget_add_css_class (zoom_out, "flat");
self->zoom_label = g_object_new (GTK_TYPE_LABEL,
"hexpand", TRUE,
"label", "100%",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]