From 864ff586f0eb125f8f4680075c6818ef038b99f2 Mon Sep 17 00:00:00 2001 From: Hue Date: Sat, 21 Feb 2026 16:04:46 +0100 Subject: [PATCH] =?UTF-8?q?panel=C2=A0:=20menu=C2=A0:=20rewrite=20WfMenuIt?= =?UTF-8?q?em=20to=20fix=20issues=20and=20add=20css=20sizing/styling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Labels were erroniously placed on the right of the icons, extra actions were not available in grid view. Fixes both issues. The size of icons were hard-coded. The icons now are now sized by the `widget-icon`/`app-button` style. --- metadata/panel.xml | 10 ++ src/panel/panel.cpp | 1 + src/panel/widgets/menu.cpp | 249 ++++++++++++++++++++++--------------- src/panel/widgets/menu.hpp | 32 ++--- 4 files changed, 177 insertions(+), 115 deletions(-) diff --git a/metadata/panel.xml b/metadata/panel.xml index 2368108e..aeb2e21d 100644 --- a/metadata/panel.xml +++ b/metadata/panel.xml @@ -199,6 +199,16 @@ 42 0 + +