From 90bbf38d867c23feb223815585fc46d5af22c986 Mon Sep 17 00:00:00 2001 From: lainsce Date: Mon, 12 Aug 2024 12:49:47 -0300 Subject: [PATCH] Fix Action button in EmptyPage --- lib/Widgets/EmptyPage.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Widgets/EmptyPage.vala b/lib/Widgets/EmptyPage.vala index e2d32c29..d4de74e2 100644 --- a/lib/Widgets/EmptyPage.vala +++ b/lib/Widgets/EmptyPage.vala @@ -37,7 +37,7 @@ public class He.EmptyPage : He.Bin { * Can connect to the clicked signal to get notified when the button is clicked. * e.g. action_button.clicked.connect(() => { ... }); */ - public He.Button action_button = new He.Button (null, null); + public He.Button action_button = new He.Button ("", ""); /** * Sets the title of the empty page. @@ -125,6 +125,8 @@ public class He.EmptyPage : He.Bin { description_label.add_css_class ("body"); icon_image.pixel_size = 128; + action_button.is_pill = true; + set_layout_manager (new Gtk.BoxLayout (Gtk.Orientation.VERTICAL)); box_title.append (title_label);