From caefe052126e2dcf2dfa3366e8ae92871a6d39f1 Mon Sep 17 00:00:00 2001 From: daleclack Date: Tue, 30 Jan 2024 19:50:40 +0800 Subject: [PATCH] Adjust button size --- Gtk4/gtk155_applaunch/src/AppView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gtk4/gtk155_applaunch/src/AppView.cpp b/Gtk4/gtk155_applaunch/src/AppView.cpp index 16a9fa3..943bde4 100644 --- a/Gtk4/gtk155_applaunch/src/AppView.cpp +++ b/Gtk4/gtk155_applaunch/src/AppView.cpp @@ -31,8 +31,8 @@ static void app_view_setup(GtkListItemFactory *factory, GtkListItem *item) app_box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5); image = gtk_image_new(); label = gtk_label_new(" "); - gtk_image_set_pixel_size(GTK_IMAGE(image), 48); - gtk_widget_set_size_request(label, 64, 12); + gtk_image_set_pixel_size(GTK_IMAGE(image), 40); + gtk_widget_set_size_request(label, 76, 12); gtk_label_set_ellipsize(GTK_LABEL(label), PANGO_ELLIPSIZE_END); // Append widgets to the box