From 390c34a4986fb583b199fcad11c51c3b7aa0e550 Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@proton.me> Date: Thu, 18 May 2023 19:40:45 +0200 Subject: [PATCH] fix: improve negative prompt popover --- data/ui/window.blp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/data/ui/window.blp b/data/ui/window.blp index c5823f9..84cfc9d 100644 --- a/data/ui/window.blp +++ b/data/ui/window.blp @@ -73,13 +73,21 @@ template $ImaginerWindow : Adw.ApplicationWindow { valign: center; tooltip-text: _("About Negative Prompt"); styles [ "flat" ] + popover: Popover { - Label { + autohide: true; + Label negative-label { + margin-top: 6; + margin-bottom: 6; + margin-start: 6; + margin-end: 6; + max-width-chars: 30; + wrap: true; + justify: center; label: _("Negative Prompt is a way to specify what you don't want to see in the image, without any extra input"); } }; - } - + } } }