From 74466041a674faaaf22f586968f275e2606e08fe Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 15 Apr 2022 19:26:19 +0300 Subject: Taskbar: small/panel icon size selection. By default the 16x16 value was hardcoded into the taskbar, which is not correct. With this commit the default value is TDEIcon::Small (can be defined in TCC->LookNFeel->Icons) to retain the "classic" style. This commit adds a "Small icons" checkbox which can be unchecked to set the icon size to TDEIcon::Panel (for consistency with other panel icons). Combined with "Icons only", this produces a Plasma/Windows-like big icon taskbar. This commit also ensures that in "Icons only" mode the icons are centered in their button, for better looking result. Finally, this commit fixes a typo in some macros (TABSKAR -> TASKBAR). Signed-off-by: Mavridis Philippe --- kicker/taskbar/taskcontainer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'kicker/taskbar/taskcontainer.h') diff --git a/kicker/taskbar/taskcontainer.h b/kicker/taskbar/taskcontainer.h index edaf337b4..f40566e9c 100644 --- a/kicker/taskbar/taskcontainer.h +++ b/kicker/taskbar/taskcontainer.h @@ -117,6 +117,7 @@ protected: void popupMenu(int); void updateFilteredTaskList(); + void updateIconSize(); protected slots: void animationTimerFired(); -- cgit v1.2.3